Bug 1290987 - Fix test_interfaces and remove pref gate on idl. - r=mrbkap CLOSED TREE draft
authorJeff Gilbert <jgilbert@mozilla.com>
Mon, 01 Aug 2016 18:39:17 -0700
changeset 395356 d1ff8d782880bc256752c5e0f4783d560830c07e
parent 395355 53406372ffafd9cafd7ea4b8802a5fa7876bcfe5
child 526980 4ee852c2c140adccea2ba6d09c513e8b89c67471
push id24754
push userbmo:jgilbert@mozilla.com
push dateTue, 02 Aug 2016 02:35:11 +0000
reviewersmrbkap
bugs1290987
milestone50.0a2
Bug 1290987 - Fix test_interfaces and remove pref gate on idl. - r=mrbkap CLOSED TREE MozReview-Commit-ID: FO4wcCKDWC6
dom/tests/mochitest/general/test_interfaces.html
dom/webidl/WebGL2RenderingContext.webidl
--- a/dom/tests/mochitest/general/test_interfaces.html
+++ b/dom/tests/mochitest/general/test_interfaces.html
@@ -1413,39 +1413,39 @@ var interfaceNamesInGlobalScope =
     "WebGLBuffer",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLContextEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLFramebuffer",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLProgram",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "WebGLQuery", nightly: true},
+    "WebGLQuery",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLRenderbuffer",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLRenderingContext",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "WebGL2RenderingContext", nightly: true},
-// IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "WebGLSampler", nightly: true},
+    "WebGL2RenderingContext",
+// IMPORTANT: Do not change this list without review from a DOM peer!
+    "WebGLSampler",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLShader",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLShaderPrecisionFormat",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "WebGLSync", nightly: true},
+    "WebGLSync",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLTexture",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "WebGLTransformFeedback", nightly: true},
+    "WebGLTransformFeedback",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebGLUniformLocation",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "WebGLVertexArrayObject", nightly: true},
+    "WebGLVertexArrayObject",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebKitCSSMatrix",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WebSocket",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "WheelEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "Window",
--- a/dom/webidl/WebGL2RenderingContext.webidl
+++ b/dom/webidl/WebGL2RenderingContext.webidl
@@ -5,37 +5,31 @@
  *
  * The source for this IDL is found at https://www.khronos.org/registry/webgl/specs/latest/2.0
  * This IDL depends on WebGLRenderingContext.webidl
  */
 
 typedef long long GLint64; // Should this be int64?
 typedef unsigned long long GLuint64;
 
-[Pref="webgl.enable-webgl2"]
 interface WebGLQuery {
 };
 
-[Pref="webgl.enable-webgl2"]
 interface WebGLSampler {
 };
 
-[Pref="webgl.enable-webgl2"]
 interface WebGLSync {
 };
 
-[Pref="webgl.enable-webgl2"]
 interface WebGLTransformFeedback {
 };
 
-[Pref="webgl.enable-webgl2"]
 interface WebGLVertexArrayObject {
 };
 
-[Pref="webgl.enable-webgl2"]
 interface WebGL2RenderingContext : WebGLRenderingContext
 {
     const GLenum READ_BUFFER                                   = 0x0C02;
     const GLenum UNPACK_ROW_LENGTH                             = 0x0CF2;
     const GLenum UNPACK_SKIP_ROWS                              = 0x0CF3;
     const GLenum UNPACK_SKIP_PIXELS                            = 0x0CF4;
     const GLenum PACK_ROW_LENGTH                               = 0x0D02;
     const GLenum PACK_SKIP_ROWS                                = 0x0D03;