Closed Bug 776001 Opened 9 years ago Closed 9 years ago
Unprefix the EXT
_texture _filter _anisotropic extension
EXT_texture_filter_anisotropic has just received "community approved" status. This means that browsers may now implement it unprefixed. We should unprefix it as soon as possible to be good Web citizens. Not even keeping the prefixed name around --- users of prefixed WebGL extension can be required to adapt to prefix removal.
Comment on attachment 644364 [details] [diff] [review] remove MOZ_EXT_texture_filter_anisotropic prefix We shipped it with the MOZ prefix, right? I wonder if we should have one release cycle where both are around, but the MOZ-prefixed one warns that it's going away?
Attachment #644364 - Flags: review?(jgilbert) → review+
I really don't think we should start making this kind of stability commitments for vendor prefixes. I feel much more comfortable about keeping hammering to webdevs the notion that if they're going to use vendor-prefixed extensions, they should be ready for them to go away at any time (probably by testing their apps in beta versions of browsers at least).
That's very different from the general case of web APIs, where prefixes carry forward almost forever. It's not a great situation, but neither is making an app that works great and uses a vendor extension for some nice feature... then that extension happens to take a year to get finalized and unprefixed, and now the app that's been working fine for over a year no longer works/supports the feature? That seems like a pretty crappy situation. It's also the reason why GL keeps supporting all the prefixes of an extension even after they're in core or moved to ARB. Actually, thinking about it that way, I'd say we just shouldn't drop support for the MOZ prefix at all...
One can't compare WebGL vendor prefixes to OpenGL vendor prefixes because of this fundamental difference: WebGL vendor prefixes are vendor monopolies, contrary to OpenGL vendor prefixes which other vendors are allowed to implement. So it will suck if removing a vendor prefix breaks a real-world app, but that is still a hypothetical case: it really isn't hard for app developers to remove these 4 characters, MOZ_, from their source code, and so it isn't clear to me that real problems will happen. On the other hand, the problems with Web APIs vendor prefixes are so real, that a few months ago with CSS we went very close to stopping honoring the "don't implement other vendors' prefixes" rule: http://hsivonen.iki.fi/vendor-prefixes/ And indeed, we are still struggling to get a foothold on the Mobile Web due to sites targeting WebKit and CSS vendor prefixes are still a big part of that (not _all_ of that. But a big part, and one that we can't solve at all ourselves besides evangelizing, because we are not even allowed to implement other vendors' prefixes.) To summarize: - the Web way to vendor prefixes is locking the browser engine market - the OpenGL way to vendor prefixes is just fine - unfortunately WebGL uses the Web way, not the OpenGL way - therefore, I'd much rather get rid of WebGL vendor prefixes as early as possible during an extension's lifecycle.
Summarizing a conversation with Vlad+Jeff+others: - as a short-term compromise we can do what Vlad suggested in comment 2 - another approach is to say, since in this case there were no difference between the different vendor-prefixed versions and the unprefixed version is still exactly the same, we could (discuss with the WG) allow to implement each other's vendor prefix. - conversely, since this extension was never going to be contentious anyway, we could have done it unprefixed or using a multi-vendor prefix since the beginning. - a more radical idea would be to switch to the OpenGL model wholesale.
Attachment #644400 - Flags: review?(jgilbert) → review+
Assignee: nobody → bjacob
Target Milestone: --- → mozilla17
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.