Platform/GFX/WebGL/Contribute/Extensions: Difference between revisions

m
Line 24: Line 24:
*{{moz-central|js/src/xpconnect/src/dom_quickstubs.qsconf}}
*{{moz-central|js/src/xpconnect/src/dom_quickstubs.qsconf}}


You will also need to add the extension's class to the list in *{{moz-central|dom/tests/mochitest/general/test_interfaces.html}}. I would recommend putting it near "WebGLExtension". If you forget this step, you'll get an 'M3' failure such as:
You will also need to add the extension's class to the list in {{moz-central|dom/tests/mochitest/general/test_interfaces.html}}.
I would recommend putting it near "WebGLExtension".
If you forget this step, you'll get an 'M3' failure such as:


<code>ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_interfaces.html | Unexpected interface name in global scope: WebGLExtensionDepthTexture</code>
<code>ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_interfaces.html | Unexpected interface name in global scope: WebGLExtensionDepthTexture</code>
Confirmed users
94

edits