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

Jump to navigation Jump to search
no edit summary
(Undo revision 478890 by Bjacob (talk))
No edit summary
Line 27: Line 27:


If you need more information, consult [https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings WebIDL bindings] or ask for help on IRC in channel #content
If you need more information, consult [https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings WebIDL bindings] or ask for help on IRC in channel #content
===The interfaces test===
File to be modified in this section:
* {{moz-central|dom/tests/mochitest/general/test_interfaces.html}}
You will need to add the extension's class to the list in {{moz-central|dom/tests/mochitest/general/test_interfaces.html}}.
Try putting it near other WebGL extensions.
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
753

edits

Navigation menu