Backed out changeset 3db828b6494a (bug 1501734) for spidermonkey failures
authorDorel Luca <dluca@mozilla.com>
Thu, 25 Oct 2018 14:57:52 +0300
changeset 491315 0fc121f7a403b4dfef2efc11a48da848f60bd473
parent 491314 6dddfbd0f3fb9ff61ed5b061c5687ff07f0978f4
child 491316 1975b2a668a4c78f3a463fedbfc366a90ff48a5a
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
bugs1501734
milestone65.0a1
backs out3db828b6494a0f680310fb453a71f00fbb505bb3
Backed out changeset 3db828b6494a (bug 1501734) for spidermonkey failures
js/src/shell/js.cpp
--- a/js/src/shell/js.cpp
+++ b/js/src/shell/js.cpp
@@ -10039,17 +10039,17 @@ SetContextOptions(JSContext* cx, const O
 #ifdef ENABLE_WASM_CRANELIFT
     wasmForceCranelift = op.getBoolOption("wasm-force-cranelift");
 #endif
 #ifdef ENABLE_WASM_GC
     enableWasmGc = op.getBoolOption("wasm-gc");
 #endif
     enableTestWasmAwaitTier2 = op.getBoolOption("test-wasm-await-tier2");
     enableAsyncStacks = !op.getBoolOption("no-async-stacks");
-    enableStreams = !op.getBoolOption("no-streams");
+    enableStreams = op.getBoolOption("enable-streams");
 
 #if defined ENABLE_WASM_GC && defined ENABLE_WASM_CRANELIFT
     // Note, once we remove --wasm-gc this test will no longer make any sense
     // and we'll need a better solution.
     if (enableWasmGc && wasmForceCranelift) {
         fprintf(stderr, "Do not combine --wasm-gc and --wasm-force-cranelift, they are incompatible.\n");
         return false;
     }
@@ -10664,18 +10664,17 @@ main(int argc, char** argv, char** envp)
                                    "instantiation on completion of tier2")
 #ifdef ENABLE_WASM_GC
         || !op.addBoolOption('\0', "wasm-gc", "Enable wasm GC features")
 #else
         || !op.addBoolOption('\0', "wasm-gc", "No-op")
 #endif
         || !op.addBoolOption('\0', "no-native-regexp", "Disable native regexp compilation")
         || !op.addBoolOption('\0', "no-unboxed-objects", "Disable creating unboxed plain objects")
-        || !op.addBoolOption('\0', "enable-streams", "Enable WHATWG Streams (default)")
-        || !op.addBoolOption('\0', "no-streams", "Disable WHATWG Streams")
+        || !op.addBoolOption('\0', "enable-streams", "Enable WHATWG Streams")
 #ifdef ENABLE_SHARED_ARRAY_BUFFER
         || !op.addStringOption('\0', "shared-memory", "on/off",
                                "SharedArrayBuffer and Atomics "
 #  if SHARED_MEMORY_DEFAULT
                                "(default: on, off to disable)"
 #  else
                                "(default: off, on to enable)"
 #  endif