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

Side by Side Diff: LayoutTests/fast/forms/week/input-valueasdate-week.html

Issue 48903019: Delete js-test-post.js. (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="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 description('Tests for .valueAsDate with &lt;input type=week>.'); 10 description('Tests for .valueAsDate with &lt;input type=week>.');
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 shouldBe('setValueAsDateAndGetValue(2010, 0, 10)', '"2010-W01"'); 58 shouldBe('setValueAsDateAndGetValue(2010, 0, 10)', '"2010-W01"');
59 shouldBe('setValueAsDateAndGetValue(2010, 0, 11)', '"2010-W02"'); 59 shouldBe('setValueAsDateAndGetValue(2010, 0, 11)', '"2010-W02"');
60 shouldBe('setValueAsDateAndGetValue(2010, 0, 17)', '"2010-W02"'); 60 shouldBe('setValueAsDateAndGetValue(2010, 0, 17)', '"2010-W02"');
61 shouldBe('setValueAsDateAndGetValue(2010, 11, 31)', '"2010-W52"'); 61 shouldBe('setValueAsDateAndGetValue(2010, 11, 31)', '"2010-W52"');
62 62
63 debug('Around the minimum value:'); 63 debug('Around the minimum value:');
64 // Gregorian calendar started in 1582. We don't support that year. 64 // Gregorian calendar started in 1582. We don't support that year.
65 shouldBe('setValueAsDateAndGetValue(0, 11, 31)', '""'); 65 shouldBe('setValueAsDateAndGetValue(0, 11, 31)', '""');
66 shouldBe('setValueAsDateAndGetValue(0, 0, 1)', '""'); 66 shouldBe('setValueAsDateAndGetValue(0, 0, 1)', '""');
67 </script> 67 </script>
68 <script src="../../js/resources/js-test-post.js"></script>
69 </body> 68 </body>
70 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698