Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / popup-menu-crash-on-close.html
blob3fee339dc1c7ac3e1c33185baf8174dc32a4a38b
1 <script src="../../../resources/js-test.js"></script>
2 <script>
3 window.onload = function() {
4 var select = document.getElementById('test');
5 select.onchange = function() { select.size = 30; }
6 select.focus();
7 if (window.eventSender) {
8 eventSender.keyDown('\r', []);
9 eventSender.keyDown('e');
10 } else {
11 document.body.innerHTML = 'Needs eventSender.';
14 </script>
15 <p>PASS if this test doesn't cause a crash when the test finishes.</p>
16 <select id="test">
17 <option>
18 <option>efgh