summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_FrameWrongURI.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_FrameWrongURI.html')
-rw-r--r--dom/browser-element/mochitest/file_browserElement_FrameWrongURI.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_browserElement_FrameWrongURI.html b/dom/browser-element/mochitest/file_browserElement_FrameWrongURI.html
new file mode 100644
index 000000000..1a6cfde0a
--- /dev/null
+++ b/dom/browser-element/mochitest/file_browserElement_FrameWrongURI.html
@@ -0,0 +1,5 @@
+<script>
+ function testSucceeded() { alert("success"); }
+ function callback() { return "<script>opener.testSucceeded()</" + "script>"; }
+ var w = window.open("javascript:opener.callback();");
+</script>