diff options
Diffstat (limited to '')
-rw-r--r-- | dom/base/test/file_receiveMessage.html | 13 |
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 0000000000..66f421270f --- /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> + |