tor-browser

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

bug-1987516-1.js (317B)


      1 // |jit-test| --enable-symbols-as-weakmap-keys
      2 try {
      3  evalInWorker(`
      4    function a() {}
      5    b = function() {}
      6    c = new FinalizationRegistry(b);
      7    a(c.register(Symbol.hasInstance));
      8  `);
      9 } catch (e) {
     10  // evalInWorker not supported with --no-threads
     11  assertEq(e.toString().includes("--no-threads"), true);
     12 }