OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 <script src="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
6 <script src="../resources/picker-common.js"></script> | 6 <script src="../resources/picker-common.js"></script> |
7 </head> | 7 </head> |
8 <body> | 8 <body> |
9 <select id="menu"> | 9 <select id="menu"> |
10 <option id="option1" selected>foo</option> | 10 <option id="option1" selected>foo</option> |
(...skipping 11 matching lines...) Expand all Loading... |
22 openPicker(menu, test1, openPickerErrorCallback); | 22 openPicker(menu, test1, openPickerErrorCallback); |
23 | 23 |
24 function test1() { | 24 function test1() { |
25 picker = window.internals.pagePopupWindow.global.picker; | 25 picker = window.internals.pagePopupWindow.global.picker; |
26 shouldBeEqualToString('picker._selectElement.options[0].title', 'bar\nbaz'); | 26 shouldBeEqualToString('picker._selectElement.options[0].title', 'bar\nbaz'); |
27 finishJSTest(); | 27 finishJSTest(); |
28 } | 28 } |
29 </script> | 29 </script> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |