summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/priority/file_NestedFramesOuter.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/browser-element/mochitest/priority/file_NestedFramesOuter.html')
-rw-r--r--dom/browser-element/mochitest/priority/file_NestedFramesOuter.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/priority/file_NestedFramesOuter.html b/dom/browser-element/mochitest/priority/file_NestedFramesOuter.html
new file mode 100644
index 000000000..e4378935f
--- /dev/null
+++ b/dom/browser-element/mochitest/priority/file_NestedFramesOuter.html
@@ -0,0 +1,20 @@
+<html>
+<body>
+<p>file_NestedFramesOuter.html</p>
+<script>
+
+addEventListener('load', function() {
+ setTimeout(createIframe, 0);
+});
+
+function createIframe()
+{
+ var iframe = document.createElement('iframe');
+ iframe.setAttribute('mozbrowser', true);
+ iframe.src = location.hash.substr(1);
+ document.body.appendChild(iframe);
+}
+
+</script>
+</body>
+</html>