summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/538210-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/538210-1.html')
-rw-r--r--layout/base/crashtests/538210-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/base/crashtests/538210-1.html b/layout/base/crashtests/538210-1.html
new file mode 100644
index 000000000..7070f8e99
--- /dev/null
+++ b/layout/base/crashtests/538210-1.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<script>
+function boom()
+{
+ var frameset = document.getElementsByTagName("frameset")[0]
+ var oldFrame = frameset.firstChild;
+ var newFrame = document.createElementNS("http://www.w3.org/1999/xhtml", "frame");
+ frameset.appendChild(newFrame);
+ frameset.removeChild(oldFrame);
+}
+</script>
+</head>
+<frameset onload="boom()"><frame></frame></frameset>
+</html>
+