tor-browser

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

throttling-1.window.js (295B)


      1 // META: script=resources/throttling.js
      2 
      3 setup(() => waitForLoad()
      4  .then(() => "setup done"));
      5 
      6 promise_test(t => busy(100)
      7  .then(() => getThrottlingRate(100))
      8  .then(rate => {
      9    assert_greater_than(rate, 10, "Timeout wasn't throttled");
     10  }), "Throttle when all budget has been used.");