summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/1550881-2.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/html/crashtests/1550881-2.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/html/crashtests/1550881-2.html b/dom/html/crashtests/1550881-2.html
new file mode 100644
index 0000000000..97bf5ef350
--- /dev/null
+++ b/dom/html/crashtests/1550881-2.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<iframe srcdoc="<iframe></iframe>"></iframe>
+<script>
+ onload = function() {
+ parent = frames[0];
+ child = parent[0];
+ child.onunload = function() {
+ parent.document.open();
+ parent.document.write("Nested");
+ }
+ parent.document.open();
+ parent.document.write("Hello");
+ }
+</script>