Add crashtest for bug 400349. sdwilsh gave me permission to check in crashtests in today's CLOSED TREE.
authorJesse Ruderman <jruderman@gmail.com>
Sat, 29 Nov 2008 18:12:46 -0800
changeset 22126 44cb9f915e4ed8f9256487d5d419625387352f9f
parent 22125 1648004a4b5748793b48b3b18f43eabf20ba0577
child 22127 2ad4efa5222be15fe124bdf0de1039f24be0a4c3
push idunknown
push userunknown
push dateunknown
bugs400349
milestone1.9.1b3pre
Add crashtest for bug 400349. sdwilsh gave me permission to check in crashtests in today's CLOSED TREE.
js/src/xpconnect/crashtests/400349-1.html
js/src/xpconnect/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/js/src/xpconnect/crashtests/400349-1.html
@@ -0,0 +1,20 @@
+<html>
+<head>
+
+<script>
+
+function init() {
+  window.removeEventListener("load", init, false);
+
+  var fr = document.getElementsByTagName("iframe")[0];
+  var b = fr.contentDocument.body;
+
+  fr.parentNode.removeChild(fr);
+  b.parentNode;
+}
+
+window.addEventListener("load", init, false);
+
+</script>
+
+</head><body><iframe></iframe></body></html>
\ No newline at end of file
--- a/js/src/xpconnect/crashtests/crashtests.list
+++ b/js/src/xpconnect/crashtests/crashtests.list
@@ -1,11 +1,12 @@
 load 326615-1.html
 load 328553-1.html
 load 346258-1.html
 load 346512-1.xhtml
 load 382133-1.html
 load 386680-1.html
 load 394810-1.html
+load 400349-1.html
 load 403356-1.html
 load 418139-1.svg
 load 420513-1.html
 load 462926.html