tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1330491.js (529B)


      1 // |jit-test| test-also=--wasm-compiler=optimizing; error: TestComplete
      2 
      3 if (!wasmDebuggingEnabled())
      4     throw "TestComplete";
      5 
      6 (function createShortLivedDebugger() {
      7    var g = newGlobal({newCompartment: true});
      8    g.debuggeeGlobal = this;
      9    g.eval("(" + function () {
     10        dbg = new Debugger(debuggeeGlobal);
     11    } + ")();");
     12 })();
     13 
     14 let module = new WebAssembly.Module(wasmTextToBinary('(module (func))'));
     15 new WebAssembly.Instance(module);
     16 
     17 gcslice(1000000);
     18 
     19 new WebAssembly.Instance(module);
     20 
     21 throw "TestComplete";