summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_TargetTop.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_TargetTop.html')
-rw-r--r--dom/browser-element/mochitest/file_browserElement_TargetTop.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_browserElement_TargetTop.html b/dom/browser-element/mochitest/file_browserElement_TargetTop.html
new file mode 100644
index 000000000..aad06361d
--- /dev/null
+++ b/dom/browser-element/mochitest/file_browserElement_TargetTop.html
@@ -0,0 +1,12 @@
+<html>
+<body>
+<div id='url'></div>
+
+<script>
+if (location.search == '') {
+ window.open('file_browserElement_TargetTop.html?2', '_top');
+}
+document.getElementById('url').innerHTML = document.location.href;
+</script>
+</body>
+</html>