diff options
Diffstat (limited to 'dom/base/test/iframe_postMessages.html')
-rw-r--r-- | dom/base/test/iframe_postMessages.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/base/test/iframe_postMessages.html b/dom/base/test/iframe_postMessages.html new file mode 100644 index 000000000..b34462f5e --- /dev/null +++ b/dom/base/test/iframe_postMessages.html @@ -0,0 +1,10 @@ +<!DOCTYPE HTML> +<html> +<body> +<script> +onmessage = function(e) { + parent.postMessage(e.data, '*', e.ports); +} +</script> +</body> +</html> |