summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/portals/resources/portal-host-post-message-x-origin.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/portals/resources/portal-host-post-message-x-origin.html')
-rw-r--r--testing/web-platform/tests/portals/resources/portal-host-post-message-x-origin.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/portals/resources/portal-host-post-message-x-origin.html b/testing/web-platform/tests/portals/resources/portal-host-post-message-x-origin.html
new file mode 100644
index 0000000000..6cbc7f4b88
--- /dev/null
+++ b/testing/web-platform/tests/portals/resources/portal-host-post-message-x-origin.html
@@ -0,0 +1,4 @@
+<!DOCTYPE html>
+<script>
+ window.portalHost.postMessage('test message');
+</script>