summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html')
-rw-r--r--dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html b/dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html
new file mode 100644
index 000000000..873a99f1a
--- /dev/null
+++ b/dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html
@@ -0,0 +1,22 @@
+<html>
+<body>
+
+<!-- The test relies on the fact that this file is completely empty. -->
+
+<script>
+
+function ok(b, msg)
+{
+ alert((b ? 'pass:' : 'fail:') + msg);
+}
+
+var w = window.open("file_empty.html");
+w.addEventListener('load', function() {
+ ok(true, 'Got load.');
+ ok(w.document.getElementById('url'), 'Found element with id "url"');
+ alert('finish');
+});
+</script>
+
+</body>
+</html>