1 <div>Type something into the first input and press tab. The browser should not crash.</div>
6 <div id="results"></div>
8 document.getElementById("a").addEventListener("change", function(e) {
9 var parent = document.getElementById("parent");
10 parent.innerHTML = "<input id='c' />";
11 document.getElementById("c").select();
16 document.getElementById("a").focus();
17 if (!window.layoutTestController)
19 layoutTestController.dumpAsText();
20 eventSender.keyDown("x")
21 eventSender.keyDown("\t");
22 document.getElementById("results").innerText = "PASSED";