gecko/content/events/crashtests/recursive-DOMNodeInserted.html

18 lines
366 B
HTML
Raw Normal View History

2009-08-08 15:17:03 -07:00
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" onload="test()">
<INPUT id="txt1" type="text" value="">
<SCRIPT>
document.addEventListener("DOMNodeInserted",test,0);
count = 0;
function test(){
n = document.createTextNode("test");
document.body.appendChild(n);
}
</SCRIPT>
</BODY>