4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText();
6 layoutTestController.waitUntilDone();
11 var el = document.getElementById('cont');
13 el.style.display = 'none';
14 window.setTimeout(contextClick, 0);
17 function contextClick()
19 if (window.eventSender)
20 eventSender.keyDown("menu");
21 layoutTestController.notifyDone();
25 <body onload="test()">
26 This tests that context menu key events are handled properly on elements that
28 <div id="cont" tabindex="0">element <a href="#">link</a></div>