summaryrefslogtreecommitdiffstats
path: root/layout/forms/crashtests/370940-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/forms/crashtests/370940-1.html')
-rw-r--r--layout/forms/crashtests/370940-1.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/forms/crashtests/370940-1.html b/layout/forms/crashtests/370940-1.html
new file mode 100644
index 000000000..ccaeb9643
--- /dev/null
+++ b/layout/forms/crashtests/370940-1.html
@@ -0,0 +1,28 @@
+<html class="reftest-wait">
+<head>
+<script>
+
+var HTML_NS = "http://www.w3.org/1999/xhtml";
+
+function boom1()
+{
+ var newSpan = document.createElementNS(HTML_NS, "span");
+ document.body.appendChild(newSpan);
+
+ setTimeout(boom2, 30);
+}
+
+function boom2()
+{
+ var newDiv = document.createElementNS(HTML_NS, "div");
+ document.getElementById("s").appendChild(newDiv);
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+</head>
+<body onload="setTimeout(boom1, 30);">
+ <p>العربي</p>
+ <span id="s"></span><input><select></select><isindex><span></span>
+</body>
+</html>