| 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="../../js/resources/js-test-pre.js"></script> |
| 5 <script src="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 description('Checks incomplete datetime formats are rejected.'); | 9 description('Checks incomplete datetime formats are rejected.'); |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 debug('Invalid format, fallback to HH:mm:ss'); | 32 debug('Invalid format, fallback to HH:mm:ss'); |
| 33 setDateTimeFormat('HH'); | 33 setDateTimeFormat('HH'); |
| 34 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); | 34 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); |
| 35 setDateTimeFormat('mm:ss'); | 35 setDateTimeFormat('mm:ss'); |
| 36 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); | 36 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); |
| 37 setDateTimeFormat('hh:mm:ss'); | 37 setDateTimeFormat('hh:mm:ss'); |
| 38 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); | 38 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); |
| 39 | 39 |
| 40 </script> | 40 </script> |
| 41 <script src="../../js/resources/js-test-post.js"></script> | |
| 42 </body> | 41 </body> |
| 43 </html> | 42 </html> |
| OLD | NEW |