tor-browser

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

preload-fetchpriority.h2.window.js (402B)


      1 // META: script=/common/utils.js
      2 // META: script=resources/early-hints-helpers.sub.js
      3 
      4 test(() => {
      5    const preloads = ["low", "high", "auto"].map(fetchpriority => { return {
      6        "url": "empty.js?" + token() + fetchpriority,
      7        "as_attr": "script",
      8        "fetchpriority_attr": fetchpriority,
      9    }});
     10    navigateToTestWithEarlyHints("resources/preload-fetchpriority.html", preloads);
     11 });