summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_receiveMessage.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/file_receiveMessage.html')
-rw-r--r--dom/base/test/file_receiveMessage.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/base/test/file_receiveMessage.html b/dom/base/test/file_receiveMessage.html
new file mode 100644
index 000000000..66f421270
--- /dev/null
+++ b/dom/base/test/file_receiveMessage.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script>
+ window.onmessage = event => {
+ document.body.textContent = `${event.origin}|${event.data}`;
+ };
+ </script>
+</head>
+
+<body></body>
+</html>
+