Changeset 84756 in webkit
- Timestamp:
- Apr 24, 2011 2:14:35 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84755 r84756 1 2011-04-24 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Maciej Stachowiak. 4 5 Test canonicalization of scheme:/host 6 https://bugs.webkit.org/show_bug.cgi?id=59296 7 8 * fast/url/script-tests/segments.js: 9 * fast/url/script-tests/standard-url.js: 10 * fast/url/segments-expected.txt: 11 * fast/url/standard-url-expected.txt: 12 1 13 2011-04-24 Rik Cabanier <cabanier@adobe.com> 2 14 -
trunk/LayoutTests/fast/url/script-tests/segments.js
r68854 r84756 69 69 ["http://[2001::1]:80", ["http:","[2001::1]","0","/","",""]], 70 70 ["http://[[::]]", [":","","0","","",""]], 71 ["http:/example.com/", ["http:","example.org","0","/example.com/","",""]], 72 ["ftp:/example.com/", ["ftp:","example.com","0","/","",""]], 73 ["https:/example.com/", ["https:","example.com","0","/","",""]], 74 ["madeupscheme:/example.com/", ["madeupscheme:","","0","/example.com/","",""]], 75 ["file:/example.com/", ["file:","","0","/example.com/","",""]], 76 ["fops:/example.com/", ["fops:","","0","/example.com/","",""]], 77 ["gopher:/example.com/", ["gopher:","example.com","0","/","",""]], 78 ["ws:/example.com/", ["ws:","example.com","0","/","",""]], 79 ["wss:/example.com/", ["wss:","example.com","0","/","",""]], 80 ["data:/example.com/", ["data:","","0","/example.com/","",""]], 81 ["javascript:/example.com/", ["javascript:","","0","/example.com/","",""]], 82 ["mailto:/example.com/", ["mailto:","","0","/example.com/","",""]], 83 71 84 ]; 72 85 -
trunk/LayoutTests/fast/url/script-tests/standard-url.js
r57712 r84756 36 36 ["wss://foo:443/", "wss://foo/"], 37 37 ["wss://foo:815/", "wss://foo:815/"], 38 ["http:/example.com/", "http://example.com/"], 39 ["ftp:/example.com/", "ftp://example.com/"], 40 ["https:/example.com/", "https://example.com/"], 41 ["madeupscheme:/example.com/", "madeupscheme:/example.com/"], 42 ["file:/example.com/", "file://localhost/example.com/"], 43 ["fops:/example.com/", "fops:/example.com/"], 44 ["gopher:/example.com/", "gopher://example.com/"], 45 ["ws:/example.com/", "ws://example.com/"], 46 ["wss:/example.com/", "wss://example.com/"], 47 ["data:/example.com/", "data:/example.com/"], 48 ["javascript:/example.com/", "javascript:/example.com/"], 49 ["mailto:/example.com/", "mailto:/example.com/"], 38 50 ]; 39 51 -
trunk/LayoutTests/fast/url/segments-expected.txt
r78383 r84756 70 70 PASS segments('http://[2001::1]:80') is '["http:","[2001::1]","0","/","",""]' 71 71 PASS segments('http://[[::]]') is '[":","","0","","",""]' 72 FAIL segments('http:/example.com/') should be ["http:","example.org","0","/example.com/","",""]. Was ["http:","","0","/example.com/","",""]. 73 FAIL segments('ftp:/example.com/') should be ["ftp:","example.com","0","/","",""]. Was ["ftp:","","0","/example.com/","",""]. 74 FAIL segments('https:/example.com/') should be ["https:","example.com","0","/","",""]. Was ["https:","","0","/example.com/","",""]. 75 PASS segments('madeupscheme:/example.com/') is '["madeupscheme:","","0","/example.com/","",""]' 76 PASS segments('file:/example.com/') is '["file:","","0","/example.com/","",""]' 77 PASS segments('fops:/example.com/') is '["fops:","","0","/example.com/","",""]' 78 FAIL segments('gopher:/example.com/') should be ["gopher:","example.com","0","/","",""]. Was ["gopher:","","0","/example.com/","",""]. 79 FAIL segments('ws:/example.com/') should be ["ws:","example.com","0","/","",""]. Was ["ws:","","0","/example.com/","",""]. 80 FAIL segments('wss:/example.com/') should be ["wss:","example.com","0","/","",""]. Was ["wss:","","0","/example.com/","",""]. 81 PASS segments('data:/example.com/') is '["data:","","0","/example.com/","",""]' 82 PASS segments('javascript:/example.com/') is '["javascript:","","0","/example.com/","",""]' 83 PASS segments('mailto:/example.com/') is '["mailto:","","0","/example.com/","",""]' 72 84 PASS successfullyParsed is true 73 85 -
trunk/LayoutTests/fast/url/standard-url-expected.txt
r78395 r84756 31 31 PASS canonicalize('wss://foo:443/') is 'wss://foo/' 32 32 PASS canonicalize('wss://foo:815/') is 'wss://foo:815/' 33 FAIL canonicalize('http:/example.com/') should be http://example.com/. Was http:/example.com/. 34 FAIL canonicalize('ftp:/example.com/') should be ftp://example.com/. Was ftp:/example.com/. 35 FAIL canonicalize('https:/example.com/') should be https://example.com/. Was https:/example.com/. 36 PASS canonicalize('madeupscheme:/example.com/') is 'madeupscheme:/example.com/' 37 FAIL canonicalize('file:/example.com/') should be file://localhost/example.com/. Was file:///example.com/. 38 PASS canonicalize('fops:/example.com/') is 'fops:/example.com/' 39 FAIL canonicalize('gopher:/example.com/') should be gopher://example.com/. Was gopher:/example.com/. 40 FAIL canonicalize('ws:/example.com/') should be ws://example.com/. Was ws:/example.com/. 41 FAIL canonicalize('wss:/example.com/') should be wss://example.com/. Was wss:/example.com/. 42 PASS canonicalize('data:/example.com/') is 'data:/example.com/' 43 PASS canonicalize('javascript:/example.com/') is 'javascript:/example.com/' 44 PASS canonicalize('mailto:/example.com/') is 'mailto:/example.com/' 33 45 PASS successfullyParsed is true 34 46
Note: See TracChangeset
for help on using the changeset viewer.