Add crashtest
authorjruderman@hmc.edu
Wed, 19 Mar 2008 22:48:31 -0700
changeset 13361 c7312b2c6d86079dbd1d607e79cc534a7f4ac45c
parent 13360 e1d64a00fd905b4ba32eeac5d7104c226802cb5f
child 13362 a06ef45757679af173fb1c2db8faa8985845b677
push idunknown
push userunknown
push dateunknown
milestone1.9b5pre
Add crashtest
content/xbl/crashtests/421997-1.xhtml
content/xbl/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/xbl/crashtests/421997-1.xhtml
@@ -0,0 +1,27 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl">
+  <binding id="g">
+    <implementation>
+      <constructor>
+        throw 3;
+      </constructor>
+    </implementation>
+  </binding>
+</bindings>
+
+<script type="text/javascript">
+
+function e()
+{
+  var listboxbody = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listboxbody");
+  document.getElementById("s").appendChild(listboxbody);
+}
+
+</script>
+</head>
+
+<body onerror="e();"><span id="s" style="-moz-binding: url(#g)"></span></body>
+
+</html>
--- a/content/xbl/crashtests/crashtests.list
+++ b/content/xbl/crashtests/crashtests.list
@@ -3,8 +3,9 @@ load 368641-1.xhtml
 load 382376-1.xhtml
 load 382376-2.xhtml
 load 342954-1.xhtml
 load 342954-2.xhtml
 load 406900-1.xul
 load 406904-1.xhtml
 load 406904-2.xhtml
 load 418133-1.xhtml
+load 421997-1.xhtml