tor-browser

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

bug1518821.js (391B)


      1 load(libdir + "asserts.js");
      2 
      3 var g = newGlobal({newCompartment: true});
      4 var f = g.Function("fn", "fn()");
      5 f(function() {
      6    nukeAllCCWs();
      7    assertErrorMessage(() => { arguments.callee.caller = null; }, TypeError,
      8                       "can't access dead object");
      9    assertErrorMessage(() => arguments.callee.caller, TypeError,
     10                       "can't access dead object");
     11 });