summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/loading/early-hints/arbitrary-header-in-early-hints.h2.window.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/loading/early-hints/arbitrary-header-in-early-hints.h2.window.js')
-rw-r--r--testing/web-platform/tests/loading/early-hints/arbitrary-header-in-early-hints.h2.window.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/loading/early-hints/arbitrary-header-in-early-hints.h2.window.js b/testing/web-platform/tests/loading/early-hints/arbitrary-header-in-early-hints.h2.window.js
new file mode 100644
index 0000000000..f0e848ec10
--- /dev/null
+++ b/testing/web-platform/tests/loading/early-hints/arbitrary-header-in-early-hints.h2.window.js
@@ -0,0 +1,4 @@
+test(() => {
+ const test_url = "resources/arbitrary-header-in-early-hints.h2.py";
+ window.location.replace(new URL(test_url, window.location));
+});