summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/client-hints/sandbox/iframe-same-origin.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/client-hints/sandbox/iframe-same-origin.https.html')
-rw-r--r--testing/web-platform/tests/client-hints/sandbox/iframe-same-origin.https.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/client-hints/sandbox/iframe-same-origin.https.html b/testing/web-platform/tests/client-hints/sandbox/iframe-same-origin.https.html
new file mode 100644
index 0000000000..0ea6a8ed53
--- /dev/null
+++ b/testing/web-platform/tests/client-hints/sandbox/iframe-same-origin.https.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+
+<body>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/client-hints/resources/export.js"></script>
+<script src="resources/util.js"></script>
+
+<script>
+sandbox_iframe_test("allow-scripts allow-same-origin",
+ expect_iframe_hints,
+ "Same origin sandboxed iframe with allow-same-origin flag does send client hint headers");
+</script>
+
+</body>
+</html> \ No newline at end of file