summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html')
-rw-r--r--testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html b/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html
new file mode 100644
index 0000000000..5cf2df5732
--- /dev/null
+++ b/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html
@@ -0,0 +1,3 @@
+<script>
+ top.opener.postMessage("{{GET[message]}}", "*");
+</script>