5 function focusinListener(evt) {
7 this.parentNode.removeChild(this);
13 if (window.layoutTestController)
14 window.layoutTestController.dumpAsText();
15 document.getElementById("a").addEventListener('focusin', focusinListener , false);
16 document.getElementById("a").focus();
20 <body onload="test();">
21 <p>Test for making sure that a crash does not happen when a focused node is removed in processing focusin eventListner.</p>
22 <pre id="console"></pre>
23 <h1 tabindex="0" id="a" ></h1>