diff options
Diffstat (limited to 'dom/messagechannel/tests/iframe_messageChannel_chrome.html')
-rw-r--r-- | dom/messagechannel/tests/iframe_messageChannel_chrome.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/messagechannel/tests/iframe_messageChannel_chrome.html b/dom/messagechannel/tests/iframe_messageChannel_chrome.html new file mode 100644 index 000000000..1c9e4d3e1 --- /dev/null +++ b/dom/messagechannel/tests/iframe_messageChannel_chrome.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML> +<html> +<body> + <script type="application/javascript"> + +window.addEventListener('message', receiveMessage, false); +function receiveMessage(evt) { + evt.data.postMessage("Hello world"); +} + </script> +</body> |