summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/iframe_bug304459-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/bugs/iframe_bug304459-2.html')
-rw-r--r--dom/tests/mochitest/bugs/iframe_bug304459-2.html18
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 000000000..3a922b9b2
--- /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>