summaryrefslogtreecommitdiffstats
path: root/dom/events/crashtests/recursive-DOMNodeInserted.html
blob: c3e6f41d5772a3d640b99d61fcb46488c90ac33d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<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>