diff options
Diffstat (limited to 'dom/tests/mochitest/bugs/iframe_bug304459-2.html')
-rw-r--r-- | dom/tests/mochitest/bugs/iframe_bug304459-2.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/tests/mochitest/bugs/iframe_bug304459-2.html b/dom/tests/mochitest/bugs/iframe_bug304459-2.html new file mode 100644 index 0000000000..3a922b9b21 --- /dev/null +++ b/dom/tests/mochitest/bugs/iframe_bug304459-2.html @@ -0,0 +1,18 @@ +<html> +<head> + <title>Iframe test for bug 304459</title> +</head> +<body"> +<script> + +var result; +try { + x == undefined; +} catch (e) { + result = true; +} +window.parent.postMessage(result, "http://mochi.test:8888"); + +</script> +</body> +</html> |