6 var fr = document.createElement('iframe');
8 document.body.appendChild(fr);
9 fr.contentDocument.body.innerHTML = '<p id="a">move mouse out of the window, and press a key</p>';
10 fr.contentDocument.body.onkeydown = function(e) {
12 document.body.removeChild(fr);
17 if (window.layoutTestController)
19 layoutTestController.dumpAsText();
20 layoutTestController.waitUntilDone();
26 eventSender.keyDown("x")
27 layoutTestController.notifyDone();
34 This test passes if it does not crash. Move the mouse out
35 of the window, and then press any key.