Add crashtests
authorjruderman@hmc.edu
Tue, 22 Apr 2008 20:56:59 -0700
changeset 14575 4fd59211d9e1d20d0610dfed533d55f4c3452347
parent 14574 be0cacef8fbe9431932af531990685b7eeb3a81b
child 14576 a8cbcd13b000204ff784a79335d2404888568939
push id14
push userbsmedberg@mozilla.com
push dateTue, 29 Apr 2008 14:30:10 +0000
treeherdermozilla-central@78e482f2d4be [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9pre
Add crashtests
layout/base/crashtests/321077-1.xul
layout/base/crashtests/321077-2.xul
layout/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/321077-1.xul
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+  <tree>
+    <treechildren/>
+  </tree>
+</window>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/321077-2.xul
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 0);">
+
+<script type="text/javascript">
+
+var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
+
+function boom()
+{
+  // Fire off an image load, then leave while the image load is pending.
+
+  document.getElementById("image").src = "data:text/html,foo";
+  location = "data:text/html,elsewhere";
+}
+
+</script>
+
+<tree><treechildren/></tree><image id="image"/>
+
+</window>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -5,16 +5,18 @@ load 243159-1.html
 load 243159-2.xhtml
 load 306940-1.html
 load 310267-1.xml
 load 310638-1.svg
 load 310638-2.html
 load 313086-1.xml
 load 321058-1.xul
 load 321058-2.xul
+load 321077-1.xul
+load 321077-2.xul
 load 322436-1.html
 load 325967-1.html
 load 325984-1.xhtml
 load 325984-2.html
 load 331204-1.html
 load 331679-1.xhtml
 load 331679-2.xml
 load 331679-3.xml