OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script src="../../js/resources/js-test-pre.js"></script> | |
5 </head> | |
6 <body> | |
7 <p id="description"></p> | |
8 <p>Please run this with DumpRenderTree.</p> | |
9 <select id="test"><optgroup></optgroup><optgroup></optgroup></select> | |
10 <div id="console"></div> | |
11 <script> | |
12 description('Select element without option but optgroup causes crash on key pres
s'); | |
13 function keyDown(key, modifiers) | |
14 { | |
15 if (!window.eventSender) | |
16 return; | |
17 eventSender.keyDown(key, modifiers); | |
18 } | |
19 var test = document.getElementById("test"); | |
20 test.focus(); | |
21 keyDown('a'); | |
22 keyDown('b'); | |
23 </script> | |
24 <script src="../../js/resources/js-test-post.js"></script> | |
25 </body> | |
OLD | NEW |