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

Side by Side Diff: LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-reset-value-after-reloads.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body onload="runBodyLoaded()"> 6 <body onload="runBodyLoaded()">
7 <iframe id=iframe srcdoc="<input type=week id='test1'><input type='week' id='tes t2' value='1234-W05'>"></iframe> 7 <iframe id=iframe srcdoc="<input type=week id='test1'><input type='week' id='tes t2' value='1234-W05'>"></iframe>
8 <script> 8 <script>
9 description('Checks reloading page resets input values'); 9 description('Checks reloading page resets input values');
10 window.jsTestIsAsync = true; 10 window.jsTestIsAsync = true;
11 11
12 var iframe = document.getElementById('iframe'); 12 var iframe = document.getElementById('iframe');
13 var testInput1; 13 var testInput1;
14 var testInput2; 14 var testInput2;
(...skipping 17 matching lines...) Expand all
32 testInput2 = iframe.contentDocument.getElementById('test2'); 32 testInput2 = iframe.contentDocument.getElementById('test2');
33 debug('Reloaded values:'); 33 debug('Reloaded values:');
34 shouldBeEqualToString('testInput1.value', ''); 34 shouldBeEqualToString('testInput1.value', '');
35 shouldBeEqualToString('testInput2.value', '1234-W05'); 35 shouldBeEqualToString('testInput2.value', '1234-W05');
36 iframe.parentNode.removeChild(iframe); 36 iframe.parentNode.removeChild(iframe);
37 finishJSTest(); 37 finishJSTest();
38 } 38 }
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698