tor-browser

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

bug-1851619.js (398B)


      1 //  |jit-test| slow; exitstatus: 3
      2 // Bug 1851619: Shouldn't crash.
      3 
      4 // This test triggers a stack overflow, then calls a finalization registry
      5 // cleanup callback that previously used data that had already been discarded.
      6 enableShellAllocationMetadataBuilder();
      7 var registry = new FinalizationRegistry(()=>{
      8 });
      9 registry.register({}, 1, {});
     10 function recurse(obj) {
     11    recurse(obj);
     12 }
     13 recurse();