Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / popup-menu-crash-on-select.html
blobf2d2ede2171dc6787377dce410b10968aed47ec8
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('downArrow');
10 eventSender.keyDown('\r');
11 } else {
12 document.body.innerHTML = 'Needs eventSender.';
15 </script>
16 <p>PASS if this test doesn't cause a crash before finishing the test.</p>
17 <select id="test">
18 <option>
19 <option>efgh