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/segments-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/segments-expected.txt')
-rw-r--r-- | LayoutTests/fast/url/segments-expected.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/LayoutTests/fast/url/segments-expected.txt b/LayoutTests/fast/url/segments-expected.txt index 659be5f..b98c50f 100644 --- a/LayoutTests/fast/url/segments-expected.txt +++ b/LayoutTests/fast/url/segments-expected.txt @@ -69,6 +69,18 @@ PASS segments('http://2001::1]:80') is '[":","","0","","",""]' PASS segments('http://[2001::1]') is '["http:","[2001::1]","0","/","",""]' PASS segments('http://[2001::1]:80') is '["http:","[2001::1]","0","/","",""]' PASS segments('http://[[::]]') is '[":","","0","","",""]' +FAIL segments('http:/example.com/') should be ["http:","example.org","0","/example.com/","",""]. Was ["http:","","0","/example.com/","",""]. +FAIL segments('ftp:/example.com/') should be ["ftp:","example.com","0","/","",""]. Was ["ftp:","","0","/example.com/","",""]. +FAIL segments('https:/example.com/') should be ["https:","example.com","0","/","",""]. Was ["https:","","0","/example.com/","",""]. +PASS segments('madeupscheme:/example.com/') is '["madeupscheme:","","0","/example.com/","",""]' +PASS segments('file:/example.com/') is '["file:","","0","/example.com/","",""]' +PASS segments('fops:/example.com/') is '["fops:","","0","/example.com/","",""]' +FAIL segments('gopher:/example.com/') should be ["gopher:","example.com","0","/","",""]. Was ["gopher:","","0","/example.com/","",""]. +FAIL segments('ws:/example.com/') should be ["ws:","example.com","0","/","",""]. Was ["ws:","","0","/example.com/","",""]. +FAIL segments('wss:/example.com/') should be ["wss:","example.com","0","/","",""]. Was ["wss:","","0","/example.com/","",""]. +PASS segments('data:/example.com/') is '["data:","","0","/example.com/","",""]' +PASS segments('javascript:/example.com/') is '["javascript:","","0","/example.com/","",""]' +PASS segments('mailto:/example.com/') is '["mailto:","","0","/example.com/","",""]' PASS successfullyParsed is true TEST COMPLETE |