tor-browser

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

big-window-zstd-body.tentative.https.any.js (405B)


      1 // META: global=window,worker
      2 // See https://github.com/facebook/zstd/issues/2713 for discussion about
      3 // standardizing window size limits.
      4 
      5 promise_test(async t => {
      6  const response = await fetch('resources/big.window.zst');
      7  assert_true(response.ok);
      8  await promise_rejects_js(t, TypeError, response.text());
      9 }, 'Consuming the body of a resource with too large of a zstd window size should reject');