It's a documentation site. You want it to pretend the API doesn't exist, or what?
> It's clear that mainstream browsers have become the exact opposite of user agents.
If I'm interpreting you correctly, please explain how you got from "mozilla.org documents this API" to "firefox is not acting as a user agent".
If I'm interpreting you correctly, please explain how you got from "mozilla.org documents this API" to "firefox is not acting as a user agent".
I'm speaking about browsers in general.
>MDN Web Docs content is maintained by Mozilla, Google employees, and volunteers (community of developers and technical writers). It also contains content contributed by Microsoft, Google, and Samsung who, in 2017, announced they would shut down their own web documentation projects and move all their documentation to MDN Web Docs
I kind of want to emphasize "Mozilla's" too. It's not firefox documentation, it's web documentation.
> I'm speaking about browsers in general.
But you're specifically including firefox because of this page, right? That's a hell of extrapolation to make from them "helping" chrome by writing/hosting an article.
In what way is documenting the API helping Google? There's a big banner right at the top of the page saying Firefox and Safari aren't going to implement it.
Should Mozilla also not document -webkit- prefixed CSS properties?
MDN is a documentation site for web technologies.
In order for something to become a web standard, it needs two independent implementations. If Google can’t build consensus or convince anybody outside of Google to implement it, it’s not a web technology, it’s just some Google API that Google built for Google’s needs.
This is out of scope for a site dedicated to web technologies. This is like expecting them to document Android APIs.
In fact, MDN includes non-standardized APIs as well. Browser-specific interfaces are included, because it turns out that if you only document the APIs that went through the standardization process and not the ones that actually exist, it makes for a bad documentation site.
I'd say a better comparison is JSX, and searching for that I do see pages on MDN about it.
I'm not well informed of how Mozilla is run, but isn't it just a business? Does it have any consistent values? I would assume that all decisions made by Mozilla are a balancing act between money and pr.
To a certain extent, I expect people to do exactly that as part of an argument in good faith, especially in a technical context. If you can't explain to me how something works, why should I trust your feedback, be it positive or negative?
No means no. DO NOT WANT. End of argument.
Let's use WEI as an example. You're clear enough in your opinion: you think it shouldn't exist. Why, though? What does it do that you object to? Do you understand how it works well enough to be sure it does the bad thing you think it does? Imagine I'm interested in the discussion, but haven't formed an opinion. I just have Google on one side talking about guaranteeing the integrity of the browser environment somehow, and you saying "DO NOT WANT" on the other. You'll have a much easier time convincing me of your point of view if you can simply show me that you actually understand WEI, and if you can make me understand it too.
It's clear that mainstream browsers have become the exact opposite of user agents. Unfortunately I don't see an easy solution to that problem beyond educating web developers and users, to change course to avoid all this hostile complexity, and possibly creating more alternative browsers that explicitly don't support things like this (or will lie about it to preserve the interests of the user: https://news.ycombinator.com/item?id=36935843 )