Bug 1505122 - Enable ReadableStream for beta and release. r=tcampbell
authorJason Orendorff <jorendorff@mozilla.com>
Fri, 30 Nov 2018 16:31:47 +0000
changeset 508188 084b61a81dc2e6a1ff29a24c7e78f6e28c4b1a35
parent 508187 d28d9a723d2441bcd168303a3e990be573f13e65
child 508189 de0779f2158adc89bd9d75f6ea2960551286a77e
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcampbell
bugs1505122
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1505122 - Enable ReadableStream for beta and release. r=tcampbell Differential Revision: https://phabricator.services.mozilla.com/D12187
dom/tests/mochitest/general/test_interfaces.js
dom/workers/test/test_worker_interfaces.js
modules/libpref/init/all.js
testing/web-platform/meta/fetch/api/idl.any.js.ini
--- a/dom/tests/mochitest/general/test_interfaces.js
+++ b/dom/tests/mochitest/general/test_interfaces.js
@@ -40,18 +40,18 @@ const isInsecureContext = !window.isSecu
 // IMPORTANT: Do not change this list without review from
 //            a JavaScript Engine peer!
 var ecmaGlobals =
   [
     {name: "Array", insecureContext: true},
     {name: "ArrayBuffer", insecureContext: true},
     {name: "Atomics", insecureContext: true, disabled: true},
     {name: "Boolean", insecureContext: true},
-    {name: "ByteLengthQueuingStrategy", insecureContext: true, nightly: true},
-    {name: "CountQueuingStrategy", insecureContext: true, nightly: true},
+    {name: "ByteLengthQueuingStrategy", insecureContext: true},
+    {name: "CountQueuingStrategy", insecureContext: true},
     {name: "DataView", insecureContext: true},
     {name: "Date", insecureContext: true},
     {name: "Error", insecureContext: true},
     {name: "EvalError", insecureContext: true},
     {name: "Float32Array", insecureContext: true},
     {name: "Float64Array", insecureContext: true},
     {name: "Function", insecureContext: true},
     {name: "Infinity", insecureContext: true},
@@ -64,17 +64,17 @@ var ecmaGlobals =
     {name: "Map", insecureContext: true},
     {name: "Math", insecureContext: true},
     {name: "NaN", insecureContext: true},
     {name: "Number", insecureContext: true},
     {name: "Object", insecureContext: true},
     {name: "Promise", insecureContext: true},
     {name: "Proxy", insecureContext: true},
     {name: "RangeError", insecureContext: true},
-    {name: "ReadableStream", insecureContext: true, nightly: true},
+    {name: "ReadableStream", insecureContext: true},
     {name: "ReferenceError", insecureContext: true},
     {name: "Reflect", insecureContext: true},
     {name: "RegExp", insecureContext: true},
     {name: "Set", insecureContext: true},
     {name: "SharedArrayBuffer", insecureContext: true, disabled: true},
     {name: "String", insecureContext: true},
     {name: "Symbol", insecureContext: true},
     {name: "SyntaxError", insecureContext: true},
--- a/dom/workers/test/test_worker_interfaces.js
+++ b/dom/workers/test/test_worker_interfaces.js
@@ -28,18 +28,18 @@
 // IMPORTANT: Do not change this list without review from
 //            a JavaScript Engine peer!
 var ecmaGlobals =
   [
     {name: "Array", insecureContext: true},
     {name: "ArrayBuffer", insecureContext: true},
     {name: "Atomics", insecureContext: true, disabled: true},
     {name: "Boolean", insecureContext: true},
-    {name: "ByteLengthQueuingStrategy", insecureContext: true, nightly: true},
-    {name: "CountQueuingStrategy", insecureContext: true, nightly: true},
+    {name: "ByteLengthQueuingStrategy", insecureContext: true},
+    {name: "CountQueuingStrategy", insecureContext: true},
     {name: "DataView", insecureContext: true},
     {name: "Date", insecureContext: true},
     {name: "Error", insecureContext: true},
     {name: "EvalError", insecureContext: true},
     {name: "Float32Array", insecureContext: true},
     {name: "Float64Array", insecureContext: true},
     {name: "Function", insecureContext: true},
     {name: "Infinity", insecureContext: true},
@@ -54,17 +54,17 @@ var ecmaGlobals =
     {name: "MediaCapabilitiesInfo", insecureContext: true},
     {name: "Math", insecureContext: true},
     {name: "NaN", insecureContext: true},
     {name: "Number", insecureContext: true},
     {name: "Object", insecureContext: true},
     {name: "Promise", insecureContext: true},
     {name: "Proxy", insecureContext: true},
     {name: "RangeError", insecureContext: true},
-    {name: "ReadableStream", insecureContext: true, nightly: true},
+    {name: "ReadableStream", insecureContext: true},
     {name: "ReferenceError", insecureContext: true},
     {name: "Reflect", insecureContext: true},
     {name: "RegExp", insecureContext: true},
     {name: "Set", insecureContext: true},
     {name: "SharedArrayBuffer", insecureContext: true, disabled: true},
     {name: "String", insecureContext: true},
     {name: "Symbol", insecureContext: true},
     {name: "SyntaxError", insecureContext: true},
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1570,21 +1570,17 @@ pref("javascript.options.spectre.index_m
 pref("javascript.options.spectre.object_mitigations.barriers", true);
 pref("javascript.options.spectre.object_mitigations.misc", true);
 pref("javascript.options.spectre.string_mitigations", true);
 pref("javascript.options.spectre.value_masking", true);
 pref("javascript.options.spectre.jit_to_C++_calls", true);
 #endif
 
 // Streams API
-#ifdef NIGHTLY_BUILD
 pref("javascript.options.streams", true);
-#else
-pref("javascript.options.streams", false);
-#endif
 
 // BigInt API
 pref("javascript.options.bigint", false);
 
 // advanced prefs
 pref("advanced.mailftp",                    false);
 pref("image.animation_mode",                "normal");
 
--- a/testing/web-platform/meta/fetch/api/idl.any.js.ini
+++ b/testing/web-platform/meta/fetch/api/idl.any.js.ini
@@ -15,27 +15,19 @@
     expected: FAIL
 
   [Request interface: new Request('about:blank') must inherit property "body" with the proper type]
     expected: FAIL
 
   [Response interface: attribute trailer]
     expected: FAIL
 
-  [Response interface: attribute body]
-    expected:
-      if not nightly_build: FAIL
-
   [Response interface: new Response() must inherit property "trailer" with the proper type]
     expected: FAIL
 
-  [Response interface: new Response() must inherit property "body" with the proper type]
-    expected:
-      if not nightly_build: FAIL
-
   [Request interface: attribute isHistoryNavigation]
     expected: FAIL
 
   [Request interface: new Request('about:blank') must inherit property "isHistoryNavigation" with the proper type]
     expected: FAIL
 
 
 [idl.https.any.serviceworker.html]
@@ -58,27 +50,19 @@
     expected: FAIL
 
   [Request interface: new Request('about:blank') must inherit property "body" with the proper type]
     expected: FAIL
 
   [Response interface: attribute trailer]
     expected: FAIL
 
-  [Response interface: attribute body]
-    expected:
-      if not nightly_build: FAIL
-
   [Response interface: new Response() must inherit property "trailer" with the proper type]
     expected: FAIL
 
-  [Response interface: new Response() must inherit property "body" with the proper type]
-    expected:
-      if not nightly_build: FAIL
-
   [Request interface: attribute isHistoryNavigation]
     expected: FAIL
 
   [Request interface: new Request('about:blank') must inherit property "isHistoryNavigation" with the proper type]
     expected: FAIL
 
 
 [idl.any.worker.html]
@@ -98,43 +82,27 @@
     expected: FAIL
 
   [Request interface: new Request('about:blank') must inherit property "body" with the proper type]
     expected: FAIL
 
   [Response interface: attribute trailer]
     expected: FAIL
 
-  [Response interface: attribute body]
-    expected:
-      if not nightly_build: FAIL
-
   [Response interface: new Response() must inherit property "trailer" with the proper type]
     expected: FAIL
 
-  [Response interface: new Response() must inherit property "body" with the proper type]
-    expected:
-      if not nightly_build: FAIL
-
   [Request interface: attribute isHistoryNavigation]
     expected: FAIL
 
   [Request interface: new Request('about:blank') must inherit property "isHistoryNavigation" with the proper type]
     expected: FAIL
 
 
 [idl.any.serviceworker.html]
-  [Response interface: new Response() must inherit property "body" with the proper type]
-    expected:
-      if not nightly_build: FAIL
-
-  [Response interface: attribute body]
-    expected:
-      if not nightly_build: FAIL
-
   [Request interface: new Request('about:blank') must inherit property "isHistoryNavigation" with the proper type]
     expected: FAIL
 
   [Request interface: attribute keepalive]
     expected: FAIL
 
   [Request interface: attribute isHistoryNavigation]
     expected: FAIL