Bug 1199430 - update to tests. r=gijs
authorValentin Gosu <valentin.gosu@gmail.com>
Thu, 08 Oct 2015 11:57:58 +0200
changeset 266853 846ed9a45d55a5b27187ebd62724fc083525164f
parent 266852 1ac68e528d122516c02444c0bec1e03e06645211
child 266854 7acef81a1e90c1f5fc52d3ffef9e2dcb27884e5e
push id29499
push userkwierso@gmail.com
push dateThu, 08 Oct 2015 21:29:10 +0000
treeherdermozilla-central@46da59584acb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1199430
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1199430 - update to tests. r=gijs
docshell/test/unit/test_nsDefaultURIFixup_info.js
testing/web-platform/meta/content-security-policy/blink-contrib/shared-worker-connect-src-blocked.sub.html.ini
testing/web-platform/meta/html/browsers/history/the-location-interface/location_assign.html.ini
testing/web-platform/meta/url/url-constructor.html.ini
--- a/docshell/test/unit/test_nsDefaultURIFixup_info.js
+++ b/docshell/test/unit/test_nsDefaultURIFixup_info.js
@@ -207,21 +207,20 @@ var testcases = [ {
     fixedURI: "http://[64:ff9b::8.8.8.8]/~moz",
     protocolChange: true
   }, {
     input: "[::1][::1]",
     keywordLookup: true,
     protocolChange: true
   }, {
     input: "[::1][100",
-    fixedURI: "http://[::1][100/",
-    alternateURI: "http://[::1][100/",
+    fixedURI: null,
+    alternateURI: null,
     keywordLookup: true,
-    protocolChange: true,
-    affectedByDNSForSingleHosts: true,
+    protocolChange: true
   }, {
     input: "[::1]]",
     keywordLookup: true,
     protocolChange: true
   }, {
     input: "1234",
     fixedURI: "http://1234/",
     alternateURI: "http://www.1234.com/",
@@ -498,23 +497,24 @@ if (Services.appinfo.OS.toLowerCase().st
     fixedURI: "file:///some/file.txt",
     protocolChange: true,
   });
   testcases.push({
     input: "//mozilla",
     fixedURI: "file:////mozilla",
     protocolChange: true,
   });
+  // \ is an invalid character in the hostname until bug 652186 is implemented
   testcases.push({
     input: "mozilla\\",
-    fixedURI: "http://mozilla\\/",
-    alternateURI: "http://www.mozilla/",
+    // fixedURI: "http://mozilla\\/",
+    // alternateURI: "http://www.mozilla/",
     keywordLookup: true,
     protocolChange: true,
-    affectedByDNSForSingleHosts: true,
+    // affectedByDNSForSingleHosts: true,
   });
 }
 
 function sanitize(input) {
   return input.replace(/\r|\n/g, "").trim();
 }
 
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/blink-contrib/shared-worker-connect-src-blocked.sub.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[shared-worker-connect-src-blocked.sub.html]
-  type: testharness
-  [Expecting alerts: ["xhr blocked"\]]
-    expected: FAIL
-
--- a/testing/web-platform/meta/html/browsers/history/the-location-interface/location_assign.html.ini
+++ b/testing/web-platform/meta/html/browsers/history/the-location-interface/location_assign.html.ini
@@ -1,3 +1,5 @@
 [location_assign.html]
   type: testharness
-  expected: TIMEOUT
+  [URL that fails to parse]
+    expected: FAIL
+
--- a/testing/web-platform/meta/url/url-constructor.html.ini
+++ b/testing/web-platform/meta/url/url-constructor.html.ini
@@ -46,22 +46,16 @@
     expected: FAIL
 
   [Parsing: <[61:24:74\]:98> against <http://example.org/foo/bar>]
     expected: FAIL
 
   [Parsing: <http:[61:27\]/:foo> against <http://example.org/foo/bar>]
     expected: FAIL
 
-  [Parsing: <http://2001::1\]> against <http://example.org/foo/bar>]
-    expected: FAIL
-
-  [Parsing: <http://2001::1\]:80> against <http://example.org/foo/bar>]
-    expected: FAIL
-
   [Parsing: <gopher:/example.com/> against <http://example.org/foo/bar>]
     expected: FAIL
 
   [Parsing: <data:/example.com/> against <http://example.org/foo/bar>]
     expected: FAIL
 
   [Parsing: <gopher:example.com/> against <http://example.org/foo/bar>]
     expected: FAIL
@@ -184,25 +178,16 @@
     expected: FAIL
 
   [Parsing: <http://a:b@/www.example.com> against <about:blank>]
     expected: FAIL
 
   [Parsing: <http://www.@pple.com> against <about:blank>]
     expected: FAIL
 
-  [Parsing: <http:@:www.example.com> against <about:blank>]
-    expected: FAIL
-
-  [Parsing: <http:/@:www.example.com> against <about:blank>]
-    expected: FAIL
-
-  [Parsing: <http://@:www.example.com> against <about:blank>]
-    expected: FAIL
-
   [Parsing: <http://:@www.example.com> against <about:blank>]
     expected: FAIL
 
   [Parsing: <http://GOO  goo.com> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://﷐zyx.com> against <http://other.com/>]
     expected: FAIL