summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webmessaging/without-ports/020-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/webmessaging/without-ports/020-1.html')
-rw-r--r--testing/web-platform/tests/webmessaging/without-ports/020-1.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webmessaging/without-ports/020-1.html b/testing/web-platform/tests/webmessaging/without-ports/020-1.html
new file mode 100644
index 0000000000..225bd7a41e
--- /dev/null
+++ b/testing/web-platform/tests/webmessaging/without-ports/020-1.html
@@ -0,0 +1,5 @@
+<script>
+onmessage = function(e) {
+ parent.postMessage([e.data, e.origin], '*');
+}
+</script> \ No newline at end of file