Revert r239503.
[WebKit-https.git] / LayoutTests / fast / url / host.html
index e88b474..bb81371 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
 <!DOCTYPE html>
 <html>
 <head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
 <script src="resources/utilities.js"></script>
 </head>
 <body>
 <script src="resources/utilities.js"></script>
 </head>
 <body>
@@ -79,12 +79,17 @@ cases = [
   ["\\\\google.com/foo","google.com/foo"],
   ["//asdf@/","asdf@/"],
   ["//:81",":81"],
   ["\\\\google.com/foo","google.com/foo"],
   ["//asdf@/","asdf@/"],
   ["//:81",":81"],
-  ["://","//"],
+  ["://","://"],
   ["c:","c"],
   ["xxxx:","xxxx"],
   [".:.",".:."],
   ["////@google.com/","google.com/"],
   ["c:","c"],
   ["xxxx:","xxxx"],
   [".:.",".:."],
   ["////@google.com/","google.com/"],
-  ["@google.com","google.com"]
+  ["@google.com","google.com"],
+  ["quip\u2010apple.com", "xn--quipapple-y79d.com"],
+  ["quip\u2011apple.com", "xn--quipapple-y79d.com"],
+  ["quip\u2212apple.com", "xn--quipapple-tf4e.com"],
+  ["iclou\uA771.com", "xn--iclou-rl3s.com"],
+  ["g\u1ECD\u1ECDgle.com", "xn--ggle-gx5aa.com"]
 ];
 
 for (var i = 0; i < cases.length; ++i) {
 ];
 
 for (var i = 0; i < cases.length; ++i) {
@@ -94,6 +99,6 @@ for (var i = 0; i < cases.length; ++i) {
            "'http://" + expected_result + "/'");
 }
 </script>
            "'http://" + expected_result + "/'");
 }
 </script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
 </body>
 </html>
 </body>
 </html>