OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 <script src="../../forms/resources/picker-common.js"></script> | 5 <script src="../../forms/resources/picker-common.js"></script> |
6 <script src="resources/suggestion-picker-common.js"></script> | 6 <script src="resources/suggestion-picker-common.js"></script> |
7 </head> | 7 </head> |
8 <body> | 8 <body> |
9 <script> | 9 <script> |
10 description('Checks reloading page resets input values'); | 10 description('Checks reloading page resets input values'); |
11 | 11 |
12 var iframe; | 12 var iframe; |
13 var testInput1; | 13 var testInput1; |
14 var testInput2; | 14 var testInput2; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 testInput2 = iframe.contentDocument.getElementById('test2'); | 56 testInput2 = iframe.contentDocument.getElementById('test2'); |
57 shouldBeEqualToString('testInput1.value', ''); | 57 shouldBeEqualToString('testInput1.value', ''); |
58 shouldBeEqualToString('testInput2.value', '2002-02'); | 58 shouldBeEqualToString('testInput2.value', '2002-02'); |
59 iframe.parentNode.removeChild(iframe); | 59 iframe.parentNode.removeChild(iframe); |
60 waitUntilClosing(finishJSTest); | 60 waitUntilClosing(finishJSTest); |
61 } | 61 } |
62 </script> | 62 </script> |
63 <iframe id=iframe onload="openPicker(event.target.contentDocument.getElementById
('test1'), runOnOpenPopup1);" srcdoc="<input type=month id=test1 list=suggestion
s><input type=month id=test2 value=2002-02 list=suggestions><datalist id=suggest
ions><option>2012-01</option></datalist>"></iframe> | 63 <iframe id=iframe onload="openPicker(event.target.contentDocument.getElementById
('test1'), runOnOpenPopup1);" srcdoc="<input type=month id=test1 list=suggestion
s><input type=month id=test2 value=2002-02 list=suggestions><datalist id=suggest
ions><option>2012-01</option></datalist>"></iframe> |
64 </body> | 64 </body> |
65 </html> | 65 </html> |
OLD | NEW |