Bug 1199430 - update to tests. r=gijs

This commit is contained in:
Valentin Gosu 2015-10-08 11:57:58 +02:00
parent b447892ec6
commit 9b9fcccc66
4 changed files with 10 additions and 28 deletions

View File

@ -212,11 +212,10 @@ var testcases = [ {
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,
@ -503,13 +502,14 @@ if (Services.appinfo.OS.toLowerCase().startsWith("win")) {
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,
});
}

View File

@ -1,5 +0,0 @@
[shared-worker-connect-src-blocked.sub.html]
type: testharness
[Expecting alerts: ["xhr blocked"\]]
expected: FAIL

View File

@ -1,3 +1,5 @@
[location_assign.html]
type: testharness
expected: TIMEOUT
[URL that fails to parse]
expected: FAIL

View File

@ -51,12 +51,6 @@
[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
@ -189,15 +183,6 @@
[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