4 <script src=
"../../../resources/js-test.js"></script>
5 <script src=
"../resources/common.js"></script>
6 <script src=
"../resources/picker-common.js"></script>
10 <option selected
>foo
</option>
14 var menu
= document
.getElementById('menu');
16 function openPickerErrorCallback() {
17 testFailed('picker didn\'t open')
20 menu
.onchange = function() {
23 openPicker(menu
, test1
, openPickerErrorCallback
);
24 description('Test for crbug.com/477932 . Pass if we don\'t crash.');
26 picker
= window
.internals
.pagePopupWindow
.global
.picker
;
27 eventSender
.keyDown('downArrow');
28 eventSender
.keyDown('escape');