Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / url / safari-extension.html
blobd45b919cc4e54c4286d85aa6949a2087a8c1c23e
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <script src="../../resources/js-test.js"></script>
6 <script src="resources/utilities.js"></script>
7 </head>
8 <body>
10 <script>
11 description("Verify the canonicalization of Safari Extension URLs.")
13 safariExtensionTestSet = [
14 ['safari-extension://', 'safari-extension://'],
15 ['safari-extension://com.apple/', 'safari-extension://com.apple/'],
16 ['safari-extension://com.ApPlE/', 'safari-extension://com.ApPlE/'],
17 ['safari-extension://com.fĂȘte/', 'safari-extension://com.f%C3%AAte/'],
20 for (var i = 0; i < safariExtensionTestSet.length; ++i) {
21 src = canonicalize(safariExtensionTestSet[i][0]);
22 expected = safariExtensionTestSet[i][1];
23 shouldBe('src', 'expected');
26 successfullyParsed = true;
27 </script>
28 </body>
29 </html>