Add bug 458637 crashtest
authorJesse Ruderman <jruderman@gmail.com>
Sat, 29 Nov 2008 19:10:58 -0800
changeset 22134 433f86f5046e9767698906395f8e948d5b51a2e3
parent 22133 93f71ccba21612f3a6816758d7cb342e86d7b164
child 22135 8df5a90281cd4d75835e4b7696da200555eed15f
push id3816
push userjruderman@mozilla.com
push dateSun, 30 Nov 2008 03:14:25 +0000
treeherdermozilla-central@8df5a90281cd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs458637
milestone1.9.1b3pre
Add bug 458637 crashtest
content/base/crashtests/458637-1-inner.xhtml
content/base/crashtests/458637-1.html
content/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/base/crashtests/458637-1-inner.xhtml
@@ -0,0 +1,4 @@
+<?xml-stylesheet type="text/xsl" href="#a"?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<xsl:stylesheet version="1.0" id="a" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
+</html>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/content/base/crashtests/458637-1.html
@@ -0,0 +1,27 @@
+<html class="reftest-wait">
+<head>
+<script type="text/javascript">
+
+var iterations = 0;
+
+function boom()
+{
+  document.getElementById("i").style.overflow = "scroll";
+  document.getElementById("i").src = document.getElementById("i").src;
+  setTimeout(boom2, 10); // must be a short timeout
+}
+
+function boom2()
+{
+  document.getElementById("i").style.overflow = "";
+  if (++iterations < 10)
+    setTimeout(boom, 10);
+  else
+    document.documentElement.removeAttribute("class");
+}
+
+</script>
+</head>
+
+<body onload="boom();"><iframe id="i" src="458637-1-inner.xhtml" style="visibility: collapse;"></iframe></body>
+</html>
--- a/content/base/crashtests/crashtests.list
+++ b/content/base/crashtests/crashtests.list
@@ -26,8 +26,9 @@ load 386000-1.html
 load 386794-1.html
 load 395469-1.xhtml
 load 395469-2.xhtml
 load 399712-1.html
 load 400763-1.html
 load 407818.html
 load 410860-1.xml
 load 426987-1.html
+load 458637-1.html