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 id=
"option1" selected
>foo
</option>
13 var menuElement
= document
.getElementById('menu');
16 function openPickerErrorCallback() {
17 testFailed('picker didn\'t open')
21 document
.getElementById('option1').title
= 'bar\nbaz';
22 openPicker(menu
, test1
, openPickerErrorCallback
);
25 picker
= window
.internals
.pagePopupWindow
.global
.picker
;
26 shouldBeEqualToString('picker._selectElement.options[0].title', 'bar\nbaz');