diff options
Diffstat (limited to 'testing/web-platform/tests/loading/early-hints/preload-fetch.h2.window.js')
-rw-r--r-- | testing/web-platform/tests/loading/early-hints/preload-fetch.h2.window.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/loading/early-hints/preload-fetch.h2.window.js b/testing/web-platform/tests/loading/early-hints/preload-fetch.h2.window.js new file mode 100644 index 0000000000..121913ed31 --- /dev/null +++ b/testing/web-platform/tests/loading/early-hints/preload-fetch.h2.window.js @@ -0,0 +1,10 @@ +// META: script=resources/early-hints-helpers.sub.js + +test(() => { + const preloads = [{ + "url": "empty.json?" + Date.now(), + "as_attr": "fetch", + "crossorigin_attr": "", + }]; + navigateToTestWithEarlyHints("resources/preload-fetch.html", preloads); +}); |