tor-browser

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

oom-eval.js (259B)


      1 // |jit-test| slow; allow-oom; skip-if: !wasmIsSupported()
      2 
      3 function foo() {
      4  var g = newGlobal({sameZoneAs: this});
      5  g.eval(`o = new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary('(module (func) (export "" (func 0)))')));`);
      6 }
      7 oomTest(foo);