summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/form-action/support/post-message-to-parent.sub.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/web-platform/tests/content-security-policy/form-action/support/post-message-to-parent.sub.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/content-security-policy/form-action/support/post-message-to-parent.sub.html b/testing/web-platform/tests/content-security-policy/form-action/support/post-message-to-parent.sub.html
new file mode 100644
index 0000000000..63e464be21
--- /dev/null
+++ b/testing/web-platform/tests/content-security-policy/form-action/support/post-message-to-parent.sub.html
@@ -0,0 +1,3 @@
+<script>
+ parent.postMessage("{{GET[message]}}", "*");
+</script>