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