tor-browser

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

await-exception-stack-in-finally-2.js (289B)


      1 ignoreUnhandledRejections();
      2 
      3 var g = newGlobal({newCompartment: true})
      4 
      5 // Throw an exception from a different compartment.
      6 var thrower = g.Function(`
      7  throw 0;
      8 `);
      9 
     10 async function justThrow() {
     11  thrower();
     12 }
     13 
     14 justThrow();
     15 
     16 // Nuke wrappers and make sure we don't crash.
     17 nukeAllCCWs();