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

mNo edit summary
Line 23: Line 23:
*{{moz-central|dom/base/nsDOMClassInfoClasses.h}}
*{{moz-central|dom/base/nsDOMClassInfoClasses.h}}
*{{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:
<code>ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_interfaces.html | Unexpected interface name in global scope: WebGLExtensionDepthTexture</code>


===The Extension Class===
===The Extension Class===
Confirmed users
94

edits