Adding test
authorbzbarsky@mit.edu
Wed, 19 Mar 2008 17:46:58 -0700
changeset 13343 aa2a6d65e3f51af708710bb581e36b281e0deff0
parent 13342 d86cfa9cc572daaf15473e9e3b6283d9795feeef
child 13344 186c391c4147bbebbf7da384461b882e0b4d4182
push idunknown
push userunknown
push dateunknown
milestone1.9b5pre
Adding test
content/events/crashtests/422009-1.xhtml
content/events/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/events/crashtests/422009-1.xhtml
@@ -0,0 +1,31 @@
+<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 boom()
+{
+  var HTML_NS = "http://www.w3.org/1999/xhtml";
+  var span = document.createElementNS(HTML_NS, 'span');
+  span.style.MozBinding = "url(#g)";
+  document.removeChild(document.documentElement)
+  var w = document.createElementNS(HTML_NS, 'body');
+  w.setAttribute('onload', "/");
+  document.appendChild(span);
+}
+
+</script>
+</head>
+
+<body onload="boom();"></body>
+</html>
new file mode 100644
--- /dev/null
+++ b/content/events/crashtests/crashtests.list
@@ -0,0 +1,1 @@
+load 422009-1.xhtml