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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-crash-on-cancel.html

Issue 1591613002: Move tests about 'New SELECT Popup' to fast/forms/select-popup, and disable them on OSX and Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script src="../resources/common.js"></script>
6 <script src="../resources/picker-common.js"></script>
7 </head>
8 <body>
9 <select id="menu">
10 <option selected>foo</option>
11 <option>bar</option>
12 </select>
13 <script>
14 var menu = document.getElementById('menu');
15 var picker = null;
16 function openPickerErrorCallback() {
17 testFailed('picker didn\'t open')
18 finishJSTest();
19 }
20 menu.onchange = function() {
21 menu.multiple = true;
22 };
23 openPicker(menu, test1, openPickerErrorCallback);
24 description('Test for crbug.com/477932 . Pass if we don\'t crash.');
25 function test1() {
26 picker = window.internals.pagePopupWindow.global.picker;
27 eventSender.keyDown('downArrow');
28 eventSender.keyDown('escape');
29
30 finishJSTest();
31 }
32 </script>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698