We still maintain support for retrieving a webgl context from a canvas via 'moz-webgl'. We should deprecate and then remove this.
Created attachment 805984 [details] [diff] [review] Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts.
Comment on attachment 806004 [details] [diff] [review] fix-913597.patch Review of attachment 806004 [details] [diff] [review]: ----------------------------------------------------------------- Awesome, thanks. bjacob can review if he wants, but it really only needs one of us.
Nope, that's fine :-)
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/ae31c55333b3 - from the looks of it, we must only support experimental-webgl, and not webgl, on Android, but the test was running there, so https://tbpl.mozilla.org/php/getParsedLog.php?id=28010372&tree=Mozilla-Inbound
Oh, and b2g, which supports neither, https://tbpl.mozilla.org/php/getParsedLog.php?id=28013847&tree=Mozilla-Inbound
Yep, this is true. Restrict the test to just 'moz-webgl' and 'experimental-webgl', since we already have a test that checks 'webgl'.
Actually, probably just test that if 'experimental-webgl' succeeds, then 'moz-webgl' fails.
I'm not actively working on this.
Created attachment 8362520 [details] [diff] [review] fix-913597.patch Unbitrotted and removed the test for the unprefixed context name.
Is WebGL totally unavailable on B2G?
WebGL is totally _available_ on B2G and even used in the Gallery application :-)
Then there should be a test preventing it from regression.
(In reply to Benoit Jacob [:bjacob] from comment #16) > WebGL is totally _available_ on B2G and even used in the Gallery application > :-) Yeah, but we have awful coverage on try. I don't remember if we successfully run any webgl on B2G at the moment.
The workaround written in bug 900201 comment #19 did not work anymore. https://tbpl.mozilla.org/?tree=Try&rev=7c9f1b59daca We will have to disable the test on B2G atm.
Created attachment 8365627 [details] [diff] [review] fix-913597.patch Added SpecialPowers.pushPrevEnv to force-enable WebGL on B2G desktop build, and B2G check for exemption. (force-enable had no effect on B2G emulator.) Try run: https://tbpl.mozilla.org/?tree=Try&rev=06babe90c8bc