diff options
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html')
-rw-r--r-- | dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html b/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html new file mode 100644 index 000000000..dc08f341c --- /dev/null +++ b/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html @@ -0,0 +1,18 @@ +<html> +<body> + +<div id='name'></div> + +<script> +if (location.search == "?1") { + open("http://example.com/tests/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html?2"); +} +else if (location.search == "?2") { + alert("finish"); +} + +document.getElementById('name').innerHTML = location.search; +</script> + +</body> +</html> |