Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select-option-accesskey-crash.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <form>
8 <select id="target">
9 <option accesskey="x">foo</option>
10 </select>
11 </form>
12 <p id="description"></p>
13 <div id="console"></div>
14 <script>
15 description('This test is to ensure that we do not crash when selecting an item from a menu list in a list box through an access key.')
16
17 if (window.testRunner) {
18 testRunner.dumpAsText();
19
20 var selectElement = document.getElementById('target');
21 selectElement.focus();
22 if (window.eventSender) {
23 eventSender.keyDown('x', 'accessKey');
24 testPassed('Did not crash');
25 }
26 }
27 </script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698