updating web components-related firefox support information, to make …#3314
updating web components-related firefox support information, to make …#3314ddbeck merged 3 commits intomdn:masterfrom chrisdavidmills:fix-webcomponents-shadowdom
Conversation
…it simpler and less confusing
ExE-Boss
left a comment
There was a problem hiding this comment.
🤦🏻♂️ Version removed is exclusive, this would mean that Firefox 62 didn’t support this at all.
api/CustomElementRegistry.json
Outdated
| { | ||
| "version_added": "59", | ||
| "version_removed": "65", | ||
| "version_removed": "62", |
There was a problem hiding this comment.
🤦🏻♂️ Version removed is exclusive, this would mean that Firefox 62 didn’t support this at all.
| "version_removed": "62", | |
| "version_removed": "63", |
css/selectors/host.json
Outdated
| { | ||
| "version_added": "61", | ||
| "version_removed": "65", | ||
| "version_added": "59", |
There was a problem hiding this comment.
🤦🏻♂️ This was only implemented in Firefox 61:
| "version_added": "59", | |
| "version_added": "61", |
|
Also, if you’re gonna do this, at least change |
|
I've updated the version removed version numbers to be inclusive. Thanks for that. I don't agree with changing the version added numbers to be inclusive of the older pref. That would potentially be more confusing. I was very close to not including pref information at all. We've been asked by so many people to not include it after the feature is enabled, as noone really cares. |
|
Hi @chrisdavidmills, thanks for starting this PR. I could use your help though, as I can't seem to square your description and the diff. Here's what I'm seeing:
Assuming that's right, I think there's a couple points I'd like to address:
|
|
Hi @ddbeck ! So you are correct on all counts here. As per the one point of contention — the initial pref information was correct (the first set that I deleted), but I felt that it made the data unnecessarily uncomplicated. The Google Chrome folks have mentioned a number of times that they feel it is completely pointless including pref information after the feature has been enabled. Because noone cares or will find it useful. However, I guess this is a conversation to have with a wider audience, not a decision for me to make on the fly. If you'd rather I added it back in, I will do. |
|
I think we need to make a call whether or not we want to remove any "behind a flag" data whenever a feature becomes available by default (or a new flag situation arises). Let's call these flags "dead flags" as there are flags the still very much control features and aren't just pure historic. I think we could make this removal a rule as the table display on MDN would be simplified and I am not aware of other data consumers really caring about "dead flags". A bit of implementation history would be lost, but it seems like no one is interested in that data and this repo doesn't have a goal of preserving all implementation history details of browsers. The other option would be to be correct in the data about this and to hide "dead flags" in the MDN table displaying logic, but that requires making that compat macro more complicated and a few engineering hours investment. I will post about this on discourse and/or in an issue an then we will make the call and enforce the "dead flag" removal throughout the repo (with a new linting rule possibly). |
|
Sorry, @Elchi3 I opened #3318 before I saw your comment. I think we're on the same page that a decision is needed, but let me know if I should move my commentary to Discourse. @chrisdavidmills in the interest of getting this PR merged, would you mind restoring the data you removed? That lets us defer the decision about removing flagged data. |
|
@ddbeck OK, done. |
ddbeck
left a comment
There was a problem hiding this comment.
Thank you @chrisdavidmills! 🎉
As per https://bugzilla.mozilla.org/show_bug.cgi?id=1503019#c16
Basically, I have removed a bunch of data about prefs that I thought was just making things confusing, and changed support versions for the latest pref info so that it no longer looks like it is supported behind a pref later than it is enabled by default (was really confusing)