tor-browser

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

bug1906765.js (365B)


      1 // |jit-test| skip-if: !('wasmDis' in this)
      2 
      3 var x = wasmTextToBinary(`(module
      4    (func $yyy (import "" "f"))
      5    (export "f" (func $yyy))
      6  )`);
      7 let importedFunc = new WebAssembly.Instance(new WebAssembly.Module(x), {
      8    "": {
      9    f: function () {},
     10    },
     11 }).exports.f;
     12 
     13 assertErrorMessage(() => wasmDis(importedFunc), Error, /function missing selected tier/);