Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<script src="/loading/early-hints/resources/early-hints-helpers.sub.js"></script>
<script>
const test_url = "../../../../mozilla/tests/fetch/fetchpriority/support/link-tests/link-header.h2.html";
const preloads = [
{
"url": "dummy.txt?1",
"as_attr": "fetch",
"fetchpriority_attr": "low",
"crossorigin_attr": "",
},
{
"url": "dummy.txt?2",
"as_attr": "fetch",
"fetchpriority_attr": "high",
"crossorigin_attr": "",
},
{
"url": "dummy.txt?3",
"as_attr": "fetch",
"fetchpriority_attr": "auto",
"crossorigin_attr": "",
},
{
"url": "dummy.txt?4",
"as_attr": "fetch",
"crossorigin_attr": "",
},
];
navigateToTestWithEarlyHints(test_url, preloads,
/*exclude_preloads_from_ok_response=*/true);
</script>