summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_ForwardName.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_ForwardName.html')
-rw-r--r--dom/browser-element/mochitest/file_browserElement_ForwardName.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_browserElement_ForwardName.html b/dom/browser-element/mochitest/file_browserElement_ForwardName.html
new file mode 100644
index 000000000..60b41bbc6
--- /dev/null
+++ b/dom/browser-element/mochitest/file_browserElement_ForwardName.html
@@ -0,0 +1,15 @@
+<html>
+<body>
+<script>
+
+if (window.name == 'foo') {
+ alert("success:window.name == 'foo'");
+}
+else {
+ alert("failure:window.name == '" + window.name + "', expected 'foo'");
+}
+
+window.open('file_browserElement_ForwardName.html#finish', 'foo');
+</script>
+</body>
+</html>