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

Jump to navigation Jump to search
Line 18: Line 18:
Here like in other places where all WebGL extensions are listed, please preserve alphabetic order.
Here like in other places where all WebGL extensions are listed, please preserve alphabetic order.


===The Goop===
===The interfaces test===


Edit these files, add goop similar to what there is for <code>WebGLExtensionStandardDerivatives</code> / <code>nsIWebGLExtensionStandardDerivatives</code>:
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.


*{{moz-central|dom/base/nsDOMClassInfo.cpp}}
*{{moz-central|dom/base/nsDOMClassInfoClasses.h}}
*{{moz-central|js/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:
If you forget this step, you'll get an 'M3' failure such as:


Confirmed users
753

edits

Navigation menu