summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/loading/early-hints/resources/arbitrary-header-in-early-hints.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/loading/early-hints/resources/arbitrary-header-in-early-hints.html')
-rw-r--r--testing/web-platform/tests/loading/early-hints/resources/arbitrary-header-in-early-hints.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/loading/early-hints/resources/arbitrary-header-in-early-hints.html b/testing/web-platform/tests/loading/early-hints/resources/arbitrary-header-in-early-hints.html
new file mode 100644
index 0000000000..cc939f5ea6
--- /dev/null
+++ b/testing/web-platform/tests/loading/early-hints/resources/arbitrary-header-in-early-hints.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<body>
+<script>
+promise_test(async (t) => {
+ // Pass when the page is successfully loaded.
+}, "An Early hints response contains an arbitrary header and it should have no effect.");
+</script>
+</body>