mdn / browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
4.92k stars 1.98k forks source link

How should we handle removal for features only implemented behind in Nightly/Dev builds? #12573

Closed queengooborg closed 1 year ago

queengooborg commented 3 years ago

While I was dealing with PositionSensorVRDevice, I noticed that its support was only available in Nightly/Canary build in each browser that supported it. Chrome has already removed WebVR support (https://www.chromestatus.com/features/4532810371039232) as well, so support is only present in Firefox Nightly. Since WebVR is a deprecated standard and was never implemented into any stable release, however, I feel that we should consider it to be irrelevant and remove the associated compatibility data.

CC @ddbeck and @foolip

queengooborg commented 3 years ago

Also CC @jpmedley. Joe, I know you've been talking a lot about not including Chrome flag data in BCD any longer, I wonder if you had an opinion on Canary-only features too!

foolip commented 3 years ago

I think dropped experimental features should be considered irrelevant and removed. No 2 year window like we do for things that reached a stable release.

lukewarlow commented 3 years ago

The "vr" feature policy is in a similar position where it's not relevant as the API was never stable in anything but Firefox and Firefox never implemented that feature policy. (As far as the current data says at least).

jpmedley commented 3 years ago

Also CC @jpmedley. Joe, I know you've been talking a lot about not including Chrome flag data in BCD any longer, I wonder if you had an opinion on Canary-only features too!

I believe that I have only ever advocated for flags to be kept off MDN. (I'm not even allowed to include them in the beta release post.) A former MDN writer always insisted that such features are "part of the platform". They're not. There's no such thing as a "platform flag". There's not even a W3C standard for it. We don't want web sites asking users to flip flags in order to use a site. They're narrowly intended for an individual developer testing a new feature on their own device. They typically occur before origin trials, which aren't allowed on MDN because they're not for established standards. Not all flagged features enter origin trials, but a significant number do, meaning the flagged features are exactly as likely to change implementations as is an origin trial feature. Once a feature is enabled by default, no one should ever use the flag. Since these are on new features, they often apply to features whose ONLY implementation is the test implementation in Chrome. Once a feature is enabled by default,

To summarize:

The current standard, I believe is to remove Chrome flags after two years. (This is buried in an issue discussion somewhere.) This was a compromise. I advocated for removing them as soon as the stable version of a feature is out.

queengooborg commented 3 years ago

So what do you think about features that are only available in Canary releases, @jpmedley? Should we treat it similarly to flag data, or perhaps less than so and remove it immediately?

jpmedley commented 3 years ago

When is anyone ever going to need it?

queengooborg commented 3 years ago

That's the answer I was hoping to hear. :D

ddbeck commented 3 years ago

This issue is touching on several questions, almost all of which have been discussed elsewhere. Narrowly, I think the headline question will be resolved by sorting out a guideline for all-false data (see https://github.com/mdn/browser-compat-data/issues/10619). My inclination is to close this in favor of other issues, though I'm open to being convinced that this is a distinct question.

Some more details:

The only new thing I'm noticing here is that it sounds like there's interest in abbreviating the time for removal for features which have been removed from all browsers and the feature was never available by default (or maybe it was experimental: true). That sounds sorta niche, so I'd like to see more examples where this is a live concern.

queengooborg commented 1 year ago

I'm going to close this since we have pretty much already established the rules for this.