diff options
author | Steve Block <steveblock@google.com> | 2012-03-27 18:35:18 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-03-28 16:42:03 +0100 |
commit | 32399fa13ad918dafbbb5dac3e65584be87a459a (patch) | |
tree | c4ce4b4ee9001e492a8d9abe19ea87e8a6958a69 /LayoutTests/fast/url/standard-url-expected.txt | |
parent | 93b8e97cc2ebb4498b935c701eaf94525959eedb (diff) | |
download | external_webkit-32399fa13ad918dafbbb5dac3e65584be87a459a.zip external_webkit-32399fa13ad918dafbbb5dac3e65584be87a459a.tar.gz external_webkit-32399fa13ad918dafbbb5dac3e65584be87a459a.tar.bz2 |
Cherry-pick WebKit change r84756 to add some URL parsing tests
This is to improve test coverage prior to fixing window.location. See bug for
details.
See http://trac.webkit.org/changeset/84756
Bug: 2159848
Change-Id: I5ac9e5129938b31f2dc0fd244dcb233eafb17fb5
Diffstat (limited to 'LayoutTests/fast/url/standard-url-expected.txt')
-rw-r--r-- | LayoutTests/fast/url/standard-url-expected.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/LayoutTests/fast/url/standard-url-expected.txt b/LayoutTests/fast/url/standard-url-expected.txt index 5312e07..5f5c710 100644 --- a/LayoutTests/fast/url/standard-url-expected.txt +++ b/LayoutTests/fast/url/standard-url-expected.txt @@ -30,6 +30,18 @@ PASS canonicalize('wss://foo:80/') is 'wss://foo:80/' PASS canonicalize('wss://foo:81/') is 'wss://foo:81/' PASS canonicalize('wss://foo:443/') is 'wss://foo/' PASS canonicalize('wss://foo:815/') is 'wss://foo:815/' +FAIL canonicalize('http:/example.com/') should be http://example.com/. Was http:/example.com/. +FAIL canonicalize('ftp:/example.com/') should be ftp://example.com/. Was ftp:/example.com/. +FAIL canonicalize('https:/example.com/') should be https://example.com/. Was https:/example.com/. +PASS canonicalize('madeupscheme:/example.com/') is 'madeupscheme:/example.com/' +FAIL canonicalize('file:/example.com/') should be file://localhost/example.com/. Was file:///example.com/. +PASS canonicalize('fops:/example.com/') is 'fops:/example.com/' +FAIL canonicalize('gopher:/example.com/') should be gopher://example.com/. Was gopher:/example.com/. +FAIL canonicalize('ws:/example.com/') should be ws://example.com/. Was ws:/example.com/. +FAIL canonicalize('wss:/example.com/') should be wss://example.com/. Was wss:/example.com/. +PASS canonicalize('data:/example.com/') is 'data:/example.com/' +PASS canonicalize('javascript:/example.com/') is 'javascript:/example.com/' +PASS canonicalize('mailto:/example.com/') is 'mailto:/example.com/' PASS successfullyParsed is true TEST COMPLETE |