summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/private-network-access/resources/iframed-no-preflight-received.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/fetch/private-network-access/resources/iframed-no-preflight-received.html')
-rw-r--r--testing/web-platform/tests/fetch/private-network-access/resources/iframed-no-preflight-received.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/fetch/private-network-access/resources/iframed-no-preflight-received.html b/testing/web-platform/tests/fetch/private-network-access/resources/iframed-no-preflight-received.html
new file mode 100644
index 0000000000..20b5150d44
--- /dev/null
+++ b/testing/web-platform/tests/fetch/private-network-access/resources/iframed-no-preflight-received.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Iframed</title>
+<script>
+ const uuid = new URL(window.location).searchParams.get("iframe-uuid");
+ top.postMessage({ uuid, message: "no preflight received" }, "*");
+</script>