diff options
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_ForwardName.html')
-rw-r--r-- | dom/browser-element/mochitest/file_browserElement_ForwardName.html | 15 |
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> |