bug 389326 - crash test by Jesse Ruderman.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:21 -0700
changeset 27785 fb33e23e605293c6503bbef91acfa2ff6147e3f9
parent 27784 9fa246f8f1213bc87dc240ac8d7b3e25031bc926
child 27786 5a21084d3b9ea8fa446879f5c152a721e3a5186c
push idunknown
push userunknown
push dateunknown
bugs389326
milestone1.9.2a1pre
bug 389326 - crash test by Jesse Ruderman.
gfx/thebes/crashtests/389326-1-inner.xhtml
gfx/thebes/crashtests/389326-1.html
gfx/thebes/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/gfx/thebes/crashtests/389326-1-inner.xhtml
@@ -0,0 +1,29 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script>
+<![CDATA[
+
+function boom()
+{
+  var f = document.getElementById("f");
+  var s = document.getElementById("s");
+  s.insertBefore(f, s.firstChild);
+
+  setTimeout(rel, 200);
+}
+
+function rel()
+{
+  location.reload();
+}
+
+]]>
+</script>
+
+</head>
+
+<body onload="boom();">
+<font id="f"><b>2</b>"</font>
+<b>"<span id="s">="<b></b></span></b>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/gfx/thebes/crashtests/389326-1.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait">
+<head>
+<script>
+setTimeout('document.documentElement.className = ""', 1000);
+</script>
+<body>
+<iframe src="389326-1-inner.xhtml"></iframe>
+</body>
+</html>
--- a/gfx/thebes/crashtests/crashtests.list
+++ b/gfx/thebes/crashtests/crashtests.list
@@ -16,16 +16,17 @@ load 377232-1.xhtml
 load 377461-1.xhtml
 load 383473-1.html
 load 385289-1.xhtml
 load 385417-1.html
 load 385417-2.html
 load 385423-1.html
 load 385423-2.html
 load 385719-1.html
+load 389326-1.html
 load 393746-1.xhtml
 load 393749-1.html
 load 393822-1.html
 load 394384-1.html
 load 394246-1.html
 load 394246-2.html
 load 395335-1.xhtml
 load 395458-1.html