OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
6 <script src="resources/utilities.js"></script> | 6 <script src="resources/utilities.js"></script> |
7 <!-- Set the base so that the current URL does not affect the tests. --> | 7 <!-- Set the base so that the current URL does not affect the tests. --> |
8 <base href=""> | 8 <base href=""> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 | 11 |
12 <script> | 12 <script> |
13 description("This ensure we do not mess up the bytes when an URL is partially pa
rsed and is invalid.") | 13 description("This ensure we do not mess up the bytes when an URL is partially pa
rsed and is invalid.") |
14 | 14 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 for (var i = 0; i < testSet.length; ++i) { | 47 for (var i = 0; i < testSet.length; ++i) { |
48 src = canonicalize(testSet[i]); | 48 src = canonicalize(testSet[i]); |
49 expected = testSet[i].trim(); | 49 expected = testSet[i].trim(); |
50 shouldBe('src', 'expected'); | 50 shouldBe('src', 'expected'); |
51 } | 51 } |
52 | 52 |
53 successfullyParsed = true; | 53 successfullyParsed = true; |
54 </script> | 54 </script> |
55 </body> | 55 </body> |
56 </html> | 56 </html> |
OLD | NEW |