tor-browser

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

bug1934365.js (373B)


      1 // |jit-test| skip-if: !getBuildConfiguration("explicit-resource-management") || getBuildConfiguration("debug")
      2 
      3 if ('oomTest' in this) {
      4  function b() {
      5    throw new Error
      6  }
      7  function c() {
      8    for (let i = 0; i < 100; i++) {
      9      d = new AsyncDisposableStack
     10      d.defer(() => e)
     11      d.defer(() => b())
     12      d.disposeAsync()
     13    }
     14  }
     15 
     16  oomTest(() => c());
     17 }