tor-browser

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

bug1878261.js (283B)


      1 // |jit-test| --baseline-eager; skip-if: !hasFunction["gczeal"]
      2 
      3 var g = newGlobal({newCompartment: true});
      4 
      5 function foo() {
      6  try {
      7    g.eval("gczeal(7,1); throw 'a thrown string'");
      8  } finally {
      9    gczeal(0);
     10  }
     11 }
     12 
     13 try {
     14  foo();
     15 } catch (e) { assertEq(e, 'a thrown string')}