-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update status of BeforeInstallPromptEvent #6059
Conversation
This is actually not being deprecated. It's simply being moved to a different spec. As soon as it gets written [it will be here](https://github.com/WICG/beforeinstallprompt).
@sideshowbarker given #5960 can you please review this one? |
The problem is, there isn’t actually a spec at https://github.com/WICG/beforeinstallprompt yet — even though it’s been more than a month since these were dropped from the Manifest spec. There’s also no record anywhere that I could find of any activity at all going on to actually re-specify the features, nor even anybody committed to actively working on a spec. And the commit message which dropped them from the Manifest spec said this:
So at this point, to me at least, it’s unclear what the actual plan is for those features. Should we act on faith that somebody really is going to end up eventually getting around to putting something at https://github.com/WICG/beforeinstallprompt? Or among the implementors is the real plan in fact to just not actually specify any features for this after all? And that leads me to wonder if at MDN we have a policy or precedent for cases like this. What I mean is, I wonder whether there’s an MDN policy or precedent for dealing with cases where despite having an indication of intent for some features to be (re)specified somewhere, we don’t actually have any current spec which defines the features — and that’s been the state of things for some time, with no signs that it’s going to change any time soon. |
OK, after reading through the entirety of the w3c/manifest#836 discussion, some things about this are a bit clearer for me now. However what’s now not as clear to me — even after re-reading https://github.com/mdn/browser-compat-data/blob/master/schemas/compat-data-schema.md#status-information — is what exactly we mean by “deprecated” in the BCD context, vs. “standard_track” and ”experimental”. But for now as far as this specific case, the reasons I see for not using
On the other hand, as far I can see from the w3c/manifest#836 discussion, both Apple and Mozilla have made it clear that they’re not going to implement it — even if/when it does ever actually end up being re-specified at https://github.com/WICG/beforeinstallprompt. But that state of things is already reflected by the fact it’s marked as So, given all that, I think it’s fine for this change to be merged — as long as everybody agrees that it’s OK for something to be marked
https://github.com/mdn/browser-compat-data/blob/master/schemas/compat-data-schema.md#status-information, for a case like this, seems somewhat ambiguous; it says this:
Specifically, for this case, and given the definition above, do we want BCD and MDN to indicate:
If we do want BCD to have an indication of those things, then how can that be done other than by marking it as If we don’t want BCD to have an indication of those things in this case, then I fully agree it should be marked |
I guess there’s a related meta-issue that I’ve touched on in my previous comments, and I’m happy to take that to https://github.com/mdn/sprints or https://discourse.mozilla.org/c/mdn/236 for discussion — but for now at point-of-use here too, I want to mention one more related thing: https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompt previously had an That’s appropriate and I’m 100% OK with it if our plan is to also mark it However, any web developer finding that MDN article now isn’t going to find any indication at the top of that article that it’s a feature which is only implemented in a single browser engine and that no other browsers are planning to support and that isn’t in any current specification. There’s a discussion at WICG/admin#102 about how to best mark specs that are only implemented in a single engine — and not directly about how the related MDN articles should be marked — but one thing that’s touched on there is unhappiness from browser projects about cases where web developers end up complaining or raising browser bugs asking why the browser hasn’t implemented a particular feature despite it having a spec and despite it being documented in MDN. So https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompt seems like a case where — to clearly convey the status to web developers and so then to also address browser-project concerns about how MDN handles cases like this — we’ve got an obligation to developers and browser projects to try to make the MDN article have some very prominent caveat indicators. Maybe in this case we could do that by adding (And maybe also For a case like this where it’s already marked |
About the meaning of |
Yep, I think per our current semantics this change is fine to be merged as the points you make are arguments for having
I think we don't want MDN to make a indication here. We want to boldly raise awareness that this is a non-standard / single-engine feature, but ultimately MDN readers would need to decide for themselves if that makes it an avoidable feature or not. If there would be a standardized alternative, this would be different, then MDN would strongly recommend such a feature instead. Comparatively, we show browser compat data, but we can't indicate "use or don't use" for a given feature, because we don't know the context the MDN reader lives in (e.g. does an MDN reader still need to support IE11 or not?). (we have plans to ask MDN users to provide us with this context, but that's a separate story) Example: Back when we documented Firefox OS web APIs (say Contact API), we marked it as non-standard but not as deprecated, because in the environment (Firefox OS) it was not deprecated. Of course, we try to promote open standards and hope to advertise to MDN readers the cross browser world whenever possible. ("To provide developers with the information they need to easily build projects on the web platform" is MDN's mission and "A world where everyone developing for the web follows open standards." is MDN's vision). The reality is, though, that we also want to make information about non-standard, single vendor APIs available as these seem useful to be known by web developers. However, like on other community wikis, this is where we need different viewpoints and opinions to present relatively neutral documentation as opposed to material published by the company creating the technology. So, I appreciate your thoughts here and am also saying that I'm not making the rules, but that we as a community make them. So splitting this discussion out of this PR to discuss our guidelines and semantics, would be appreciated.
Yes. I think we can indicate more boldly that this has no specification or that the specification is still very much in progress and super unstable.
Yes, this issue is unresolved. The discussion here might be new input for clarifying that, but I propose we split that into a new issue. |
OK — makes sense
Right, that too makes sense
I agree on that too. I think that the for web developers, there is big value in having a single canonical place where they can go to get information for web features exposed by browser engines. I would not want to see things ever regress back into a situation where we had N different browser vendors redundantly hosting documentation about web features at their own domains.
OK, will do that
Right — as I've said, I think in general we have an obligation to try to convey the implementation/standards status as clearly as possible. So I am enthusiastic about helping to find good/new ways to do that.
OK |
This is actually not being deprecated. It's simply being moved to a different spec. As soon as it gets written it will be here.
From our site: