Changeset 206165 in webkit
- Timestamp:
- Sep 20, 2016 1:01:08 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r206161 r206165 1 2016-09-20 Alex Christensen <achristensen@webkit.org> 2 3 Non-special URLs should have an opaque origin 4 https://bugs.webkit.org/show_bug.cgi?id=162254 5 6 Reviewed by Sam Weinig. 7 8 * http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt: 9 * http/tests/security/postMessage/invalid-origin-throws-exception.html: 10 1 11 2016-09-20 Javier Fernandez <jfernandez@igalia.com> 2 12 -
trunk/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt
r203333 r206165 1 CONSOLE MESSAGE: Unable to post message to asdf://. Recipient has origin http://localhost:8000.2 3 1 window.location.href = http://127.0.0.1:8000/security/postMessage/invalid-origin-throws-exception.html 4 2 waiting... … … 7 5 Encountered exception SyntaxError (DOM Exception 12): The string did not match the expected pattern. while posting message to '/tmp/foo'. 8 6 Encountered exception SyntaxError (DOM Exception 12): The string did not match the expected pattern. while posting message to '//localhost'. 9 Posted message to 'asdf:' without any exceptions.7 Encountered exception SyntaxError (DOM Exception 12): The string did not match the expected pattern. while posting message to 'asdf:'. 10 8 Encountered exception SyntaxError (DOM Exception 12): The string did not match the expected pattern. while posting message to 'http:'. 11 9 Received message: data="Received message: data="done" origin="http://127.0.0.1:8000"" origin="http://localhost:8000" -
trunk/LayoutTests/http/tests/security/postMessage/invalid-origin-throws-exception.html
r120174 r206165 30 30 tryPostMessage("//localhost"); 31 31 32 // URLs without an origin should fail with out generating any errors.32 // URLs without an origin should fail with a syntax error. 33 33 tryPostMessage("asdf:"); 34 34 tryPostMessage("http:"); -
trunk/LayoutTests/imported/w3c/ChangeLog
r206146 r206165 1 2016-09-20 Alex Christensen <achristensen@webkit.org> 2 3 Non-special URLs should have an opaque origin 4 https://bugs.webkit.org/show_bug.cgi?id=162254 5 6 Reviewed by Sam Weinig. 7 8 * web-platform-tests/url/a-element-expected.txt: 9 * web-platform-tests/url/a-element-xhtml-expected.txt: 10 * web-platform-tests/url/url-constructor-expected.txt: 11 1 12 2016-09-20 Jer Noble <jer.noble@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt
r204948 r206165 8 8 > against <http://example.org/foo/bar> 9 9 PASS Parsing: < foo.com > against <http://example.org/foo/bar> 10 FAIL Parsing: <a: foo.com> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "a://" 10 PASS Parsing: <a: foo.com> against <http://example.org/foo/bar> 11 11 PASS Parsing: <http://f:21/ b ? d # e > against <http://example.org/foo/bar> 12 12 PASS Parsing: <http://f:/c> against <http://example.org/foo/bar> … … 49 49 PASS Parsing: <http:\\foo.com\> against <http://example.org/foo/bar> 50 50 PASS Parsing: <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar> 51 FAIL Parsing: <foo:/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://" 52 FAIL Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://" 53 FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"54 FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"55 FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"56 FAIL Parsing: <c:/foo> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "c://" 51 PASS Parsing: <foo:/> against <http://example.org/foo/bar> 52 PASS Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> 53 FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: pathname expected "///////" but got "/////////" 54 FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: pathname expected "///////bar.com/" but got "/////////bar.com/" 55 FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: pathname expected "//://///" but got "////://///" 56 PASS Parsing: <c:/foo> against <http://example.org/foo/bar> 57 57 PASS Parsing: <//foo/bar> against <http://example.org/foo/bar> 58 58 PASS Parsing: <http://foo/path;a??e#f#g> against <http://example.org/foo/bar> … … 70 70 PASS Parsing: <ftp:/example.com/> against <http://example.org/foo/bar> 71 71 PASS Parsing: <https:/example.com/> against <http://example.org/foo/bar> 72 FAIL Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://" 72 PASS Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> 73 73 PASS Parsing: <file:/example.com/> against <http://example.org/foo/bar> 74 FAIL Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://" 74 PASS Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> 75 75 PASS Parsing: <gopher:/example.com/> against <http://example.org/foo/bar> 76 76 PASS Parsing: <ws:/example.com/> against <http://example.org/foo/bar> … … 78 78 PASS Parsing: <data:/example.com/> against <http://example.org/foo/bar> 79 79 PASS Parsing: <javascript:/example.com/> against <http://example.org/foo/bar> 80 FAIL Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://" 80 PASS Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> 81 81 PASS Parsing: <http:example.com/> against <http://example.org/foo/bar> 82 82 PASS Parsing: <ftp:example.com/> against <http://example.org/foo/bar> 83 83 PASS Parsing: <https:example.com/> against <http://example.org/foo/bar> 84 FAIL Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://" 85 FAIL Parsing: <ftps:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://" 84 PASS Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> 85 PASS Parsing: <ftps:example.com/> against <http://example.org/foo/bar> 86 86 PASS Parsing: <gopher:example.com/> against <http://example.org/foo/bar> 87 87 PASS Parsing: <ws:example.com/> against <http://example.org/foo/bar> … … 89 89 PASS Parsing: <data:example.com/> against <http://example.org/foo/bar> 90 90 PASS Parsing: <javascript:example.com/> against <http://example.org/foo/bar> 91 FAIL Parsing: <mailto:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://" 91 PASS Parsing: <mailto:example.com/> against <http://example.org/foo/bar> 92 92 PASS Parsing: </a/b/c> against <http://example.org/foo/bar> 93 93 PASS Parsing: </a/ /c> against <http://example.org/foo/bar> … … 96 96 FAIL Parsing: <#β> against <http://example.org/foo/bar> assert_equals: href expected "http://example.org/foo/bar#β" but got "http://example.org/foo/bar#%CE%B2" 97 97 PASS Parsing: <data:text/html,test#test> against <http://example.org/foo/bar> 98 FAIL Parsing: <tel:1234567890> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "tel://" 98 PASS Parsing: <tel:1234567890> against <http://example.org/foo/bar> 99 99 FAIL Parsing: <file:c:\foo\bar.html> against <file:///tmp/mock/path> assert_equals: href expected "file:///c:/foo/bar.html" but got "file:///tmp/mock/c:/foo/bar.html" 100 100 FAIL Parsing: < File:c|////foo\bar.html> against <file:///tmp/mock/path> assert_equals: href expected "file:///c:////foo/bar.html" but got "file:///tmp/mock/c|////foo/bar.html" … … 165 165 PASS Parsing: <http://foo:80/> against <about:blank> 166 166 PASS Parsing: <http://foo:81/> against <about:blank> 167 FAIL Parsing: <httpa://foo:80/> against <about:blank> assert_equals: origin expected "null" but got "httpa://foo:80" 167 PASS Parsing: <httpa://foo:80/> against <about:blank> 168 168 PASS Parsing: <http://foo:-80/> against <about:blank> 169 169 PASS Parsing: <https://foo:443/> against <about:blank> … … 184 184 PASS Parsing: <ftp:/example.com/> against <about:blank> 185 185 PASS Parsing: <https:/example.com/> against <about:blank> 186 FAIL Parsing: <madeupscheme:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://" 186 PASS Parsing: <madeupscheme:/example.com/> against <about:blank> 187 187 PASS Parsing: <file:/example.com/> against <about:blank> 188 FAIL Parsing: <ftps:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://" 188 PASS Parsing: <ftps:/example.com/> against <about:blank> 189 189 PASS Parsing: <gopher:/example.com/> against <about:blank> 190 190 PASS Parsing: <ws:/example.com/> against <about:blank> … … 192 192 PASS Parsing: <data:/example.com/> against <about:blank> 193 193 PASS Parsing: <javascript:/example.com/> against <about:blank> 194 FAIL Parsing: <mailto:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 194 PASS Parsing: <mailto:/example.com/> against <about:blank> 195 195 PASS Parsing: <http:example.com/> against <about:blank> 196 196 PASS Parsing: <ftp:example.com/> against <about:blank> 197 197 PASS Parsing: <https:example.com/> against <about:blank> 198 FAIL Parsing: <madeupscheme:example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://" 199 FAIL Parsing: <ftps:example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://" 198 PASS Parsing: <madeupscheme:example.com/> against <about:blank> 199 PASS Parsing: <ftps:example.com/> against <about:blank> 200 200 PASS Parsing: <gopher:example.com/> against <about:blank> 201 201 PASS Parsing: <ws:example.com/> against <about:blank> … … 203 203 PASS Parsing: <data:example.com/> against <about:blank> 204 204 PASS Parsing: <javascript:example.com/> against <about:blank> 205 FAIL Parsing: <mailto:example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 205 PASS Parsing: <mailto:example.com/> against <about:blank> 206 206 PASS Parsing: <http:@www.example.com> against <about:blank> 207 207 PASS Parsing: <http:/@www.example.com> against <about:blank> … … 274 274 PASS Parsing: <http://[google.com]> against <http://other.com/> 275 275 FAIL Parsing: <http://foo:💩@example.com/bar> against <http://other.com/> assert_equals: href expected "http://foo:%F0%9F%92%A9@example.com/bar" but got "http://foo:💩@example.com/bar" 276 FAIL Parsing: <#> against <test:test> assert_equals: origin expected "null" but got "test://" 277 FAIL Parsing: <#x> against <mailto:x@x.com> assert_equals: origin expected "null" but got "mailto://" 276 PASS Parsing: <#> against <test:test> 277 PASS Parsing: <#x> against <mailto:x@x.com> 278 278 PASS Parsing: <#x> against <data:,> 279 279 PASS Parsing: <#x> against <about:blank> 280 FAIL Parsing: <#> against <test:test?test> assert_equals: origin expected "null" but got "test://" 280 PASS Parsing: <#> against <test:test?test> 281 281 FAIL Parsing: <https://@test@test@example:800/> against <http://doesnotmatter/> assert_equals: href expected "https://%40test%40test@example:800/" but got "https://@test@test@example:800/" 282 282 FAIL Parsing: <https://@@@example> against <http://doesnotmatter/> assert_equals: href expected "https://%40%40@example/" but got "https://@@@example" … … 287 287 PASS Parsing: <i> against <sc:sd> 288 288 PASS Parsing: <i> against <sc:sd/sd> 289 FAIL Parsing: <i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 290 FAIL Parsing: <i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 291 FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"289 PASS Parsing: <i> against <sc:/pa/pa> 290 PASS Parsing: <i> against <sc://ho/pa> 291 FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/i" but got "///pa/i" 292 292 PASS Parsing: <../i> against <sc:sd> 293 293 PASS Parsing: <../i> against <sc:sd/sd> 294 FAIL Parsing: <../i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 295 FAIL Parsing: <../i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 296 FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"294 PASS Parsing: <../i> against <sc:/pa/pa> 295 PASS Parsing: <../i> against <sc://ho/pa> 296 FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: pathname expected "/i" but got "///i" 297 297 PASS Parsing: </i> against <sc:sd> 298 298 PASS Parsing: </i> against <sc:sd/sd> 299 FAIL Parsing: </i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 300 FAIL Parsing: </i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 299 PASS Parsing: </i> against <sc:/pa/pa> 300 PASS Parsing: </i> against <sc://ho/pa> 301 301 FAIL Parsing: </i> against <sc:///pa/pa> assert_equals: href expected "sc:///i" but got "sc:/i" 302 302 PASS Parsing: <?i> against <sc:sd> 303 303 PASS Parsing: <?i> against <sc:sd/sd> 304 FAIL Parsing: <?i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 305 FAIL Parsing: <?i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 306 FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"307 FAIL Parsing: <#i> against <sc:sd> assert_equals: origin expected "null" but got "sc://" 308 FAIL Parsing: <#i> against <sc:sd/sd> assert_equals: origin expected "null" but got "sc://" 309 FAIL Parsing: <#i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 310 FAIL Parsing: <#i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 311 FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"304 PASS Parsing: <?i> against <sc:/pa/pa> 305 PASS Parsing: <?i> against <sc://ho/pa> 306 FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa" 307 PASS Parsing: <#i> against <sc:sd> 308 PASS Parsing: <#i> against <sc:sd/sd> 309 PASS Parsing: <#i> against <sc:/pa/pa> 310 PASS Parsing: <#i> against <sc://ho/pa> 311 FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa" 312 312 PASS Parsing: <about:/../> against <about:blank> 313 313 PASS Parsing: <data:/../> against <about:blank> 314 314 PASS Parsing: <javascript:/../> against <about:blank> 315 FAIL Parsing: <mailto:/../> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 316 FAIL Parsing: <sc://ñ.test/> against <about:blank> assert_equals: origin expected "null" but got "sc://xn--ida.test" 315 PASS Parsing: <mailto:/../> against <about:blank> 316 PASS Parsing: <sc://ñ.test/> against <about:blank> 317 317 FAIL Parsing: <sc:\../> against <about:blank> assert_equals: href expected "sc:\\../" but got "sc:/" 318 FAIL Parsing: <sc::a@example.net> against <about:blank> assert_equals: origin expected "null" but got "sc://" 318 PASS Parsing: <sc::a@example.net> against <about:blank> 319 319 PASS Parsing: <http://127.0.0.1:10100/relative_import.html> against <about:blank> 320 320 PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank> … … 337 337 PASS Parsing: <http:> against <http://example.org/foo/bar> 338 338 FAIL Parsing: <http:> against <https://example.org/foo/bar> assert_unreached: Expected URL to fail parsing Reached unreachable code 339 FAIL Parsing: <sc:> against <https://example.org/foo/bar> assert_equals: origin expected "null" but got "sc://" 339 PASS Parsing: <sc:> against <https://example.org/foo/bar> 340 340 -
trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt
r204948 r206165 8 8 > against <http://example.org/foo/bar> 9 9 PASS Parsing: < foo.com > against <http://example.org/foo/bar> 10 FAIL Parsing: <a: foo.com> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "a://" 10 PASS Parsing: <a: foo.com> against <http://example.org/foo/bar> 11 11 PASS Parsing: <http://f:21/ b ? d # e > against <http://example.org/foo/bar> 12 12 PASS Parsing: <http://f:/c> against <http://example.org/foo/bar> … … 49 49 PASS Parsing: <http:\\foo.com\> against <http://example.org/foo/bar> 50 50 PASS Parsing: <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar> 51 FAIL Parsing: <foo:/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://" 52 FAIL Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://" 53 FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"54 FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"55 FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"56 FAIL Parsing: <c:/foo> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "c://" 51 PASS Parsing: <foo:/> against <http://example.org/foo/bar> 52 PASS Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> 53 FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: pathname expected "///////" but got "/////////" 54 FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: pathname expected "///////bar.com/" but got "/////////bar.com/" 55 FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: pathname expected "//://///" but got "////://///" 56 PASS Parsing: <c:/foo> against <http://example.org/foo/bar> 57 57 PASS Parsing: <//foo/bar> against <http://example.org/foo/bar> 58 58 PASS Parsing: <http://foo/path;a??e#f#g> against <http://example.org/foo/bar> … … 70 70 PASS Parsing: <ftp:/example.com/> against <http://example.org/foo/bar> 71 71 PASS Parsing: <https:/example.com/> against <http://example.org/foo/bar> 72 FAIL Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://" 72 PASS Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> 73 73 PASS Parsing: <file:/example.com/> against <http://example.org/foo/bar> 74 FAIL Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://" 74 PASS Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> 75 75 PASS Parsing: <gopher:/example.com/> against <http://example.org/foo/bar> 76 76 PASS Parsing: <ws:/example.com/> against <http://example.org/foo/bar> … … 78 78 PASS Parsing: <data:/example.com/> against <http://example.org/foo/bar> 79 79 PASS Parsing: <javascript:/example.com/> against <http://example.org/foo/bar> 80 FAIL Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://" 80 PASS Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> 81 81 PASS Parsing: <http:example.com/> against <http://example.org/foo/bar> 82 82 PASS Parsing: <ftp:example.com/> against <http://example.org/foo/bar> 83 83 PASS Parsing: <https:example.com/> against <http://example.org/foo/bar> 84 FAIL Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://" 85 FAIL Parsing: <ftps:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://" 84 PASS Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> 85 PASS Parsing: <ftps:example.com/> against <http://example.org/foo/bar> 86 86 PASS Parsing: <gopher:example.com/> against <http://example.org/foo/bar> 87 87 PASS Parsing: <ws:example.com/> against <http://example.org/foo/bar> … … 89 89 PASS Parsing: <data:example.com/> against <http://example.org/foo/bar> 90 90 PASS Parsing: <javascript:example.com/> against <http://example.org/foo/bar> 91 FAIL Parsing: <mailto:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://" 91 PASS Parsing: <mailto:example.com/> against <http://example.org/foo/bar> 92 92 PASS Parsing: </a/b/c> against <http://example.org/foo/bar> 93 93 PASS Parsing: </a/ /c> against <http://example.org/foo/bar> … … 96 96 FAIL Parsing: <#β> against <http://example.org/foo/bar> assert_equals: href expected "http://example.org/foo/bar#β" but got "http://example.org/foo/bar#%CE%B2" 97 97 PASS Parsing: <data:text/html,test#test> against <http://example.org/foo/bar> 98 FAIL Parsing: <tel:1234567890> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "tel://" 98 PASS Parsing: <tel:1234567890> against <http://example.org/foo/bar> 99 99 FAIL Parsing: <file:c:\foo\bar.html> against <file:///tmp/mock/path> assert_equals: href expected "file:///c:/foo/bar.html" but got "file:///tmp/mock/c:/foo/bar.html" 100 100 FAIL Parsing: < File:c|////foo\bar.html> against <file:///tmp/mock/path> assert_equals: href expected "file:///c:////foo/bar.html" but got "file:///tmp/mock/c|////foo/bar.html" … … 165 165 PASS Parsing: <http://foo:80/> against <about:blank> 166 166 PASS Parsing: <http://foo:81/> against <about:blank> 167 FAIL Parsing: <httpa://foo:80/> against <about:blank> assert_equals: origin expected "null" but got "httpa://foo:80" 167 PASS Parsing: <httpa://foo:80/> against <about:blank> 168 168 PASS Parsing: <http://foo:-80/> against <about:blank> 169 169 PASS Parsing: <https://foo:443/> against <about:blank> … … 184 184 PASS Parsing: <ftp:/example.com/> against <about:blank> 185 185 PASS Parsing: <https:/example.com/> against <about:blank> 186 FAIL Parsing: <madeupscheme:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://" 186 PASS Parsing: <madeupscheme:/example.com/> against <about:blank> 187 187 PASS Parsing: <file:/example.com/> against <about:blank> 188 FAIL Parsing: <ftps:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://" 188 PASS Parsing: <ftps:/example.com/> against <about:blank> 189 189 PASS Parsing: <gopher:/example.com/> against <about:blank> 190 190 PASS Parsing: <ws:/example.com/> against <about:blank> … … 192 192 PASS Parsing: <data:/example.com/> against <about:blank> 193 193 PASS Parsing: <javascript:/example.com/> against <about:blank> 194 FAIL Parsing: <mailto:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 194 PASS Parsing: <mailto:/example.com/> against <about:blank> 195 195 PASS Parsing: <http:example.com/> against <about:blank> 196 196 PASS Parsing: <ftp:example.com/> against <about:blank> 197 197 PASS Parsing: <https:example.com/> against <about:blank> 198 FAIL Parsing: <madeupscheme:example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://" 199 FAIL Parsing: <ftps:example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://" 198 PASS Parsing: <madeupscheme:example.com/> against <about:blank> 199 PASS Parsing: <ftps:example.com/> against <about:blank> 200 200 PASS Parsing: <gopher:example.com/> against <about:blank> 201 201 PASS Parsing: <ws:example.com/> against <about:blank> … … 203 203 PASS Parsing: <data:example.com/> against <about:blank> 204 204 PASS Parsing: <javascript:example.com/> against <about:blank> 205 FAIL Parsing: <mailto:example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 205 PASS Parsing: <mailto:example.com/> against <about:blank> 206 206 PASS Parsing: <http:@www.example.com> against <about:blank> 207 207 PASS Parsing: <http:/@www.example.com> against <about:blank> … … 274 274 PASS Parsing: <http://[google.com]> against <http://other.com/> 275 275 FAIL Parsing: <http://foo:💩@example.com/bar> against <http://other.com/> assert_equals: href expected "http://foo:%F0%9F%92%A9@example.com/bar" but got "http://foo:💩@example.com/bar" 276 FAIL Parsing: <#> against <test:test> assert_equals: origin expected "null" but got "test://" 277 FAIL Parsing: <#x> against <mailto:x@x.com> assert_equals: origin expected "null" but got "mailto://" 276 PASS Parsing: <#> against <test:test> 277 PASS Parsing: <#x> against <mailto:x@x.com> 278 278 PASS Parsing: <#x> against <data:,> 279 279 PASS Parsing: <#x> against <about:blank> 280 FAIL Parsing: <#> against <test:test?test> assert_equals: origin expected "null" but got "test://" 280 PASS Parsing: <#> against <test:test?test> 281 281 FAIL Parsing: <https://@test@test@example:800/> against <http://doesnotmatter/> assert_equals: href expected "https://%40test%40test@example:800/" but got "https://@test@test@example:800/" 282 282 FAIL Parsing: <https://@@@example> against <http://doesnotmatter/> assert_equals: href expected "https://%40%40@example/" but got "https://@@@example" … … 287 287 PASS Parsing: <i> against <sc:sd> 288 288 PASS Parsing: <i> against <sc:sd/sd> 289 FAIL Parsing: <i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 290 FAIL Parsing: <i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 291 FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"289 PASS Parsing: <i> against <sc:/pa/pa> 290 PASS Parsing: <i> against <sc://ho/pa> 291 FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/i" but got "///pa/i" 292 292 PASS Parsing: <../i> against <sc:sd> 293 293 PASS Parsing: <../i> against <sc:sd/sd> 294 FAIL Parsing: <../i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 295 FAIL Parsing: <../i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 296 FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"294 PASS Parsing: <../i> against <sc:/pa/pa> 295 PASS Parsing: <../i> against <sc://ho/pa> 296 FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: pathname expected "/i" but got "///i" 297 297 PASS Parsing: </i> against <sc:sd> 298 298 PASS Parsing: </i> against <sc:sd/sd> 299 FAIL Parsing: </i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 300 FAIL Parsing: </i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 299 PASS Parsing: </i> against <sc:/pa/pa> 300 PASS Parsing: </i> against <sc://ho/pa> 301 301 FAIL Parsing: </i> against <sc:///pa/pa> assert_equals: href expected "sc:///i" but got "sc:/i" 302 302 PASS Parsing: <?i> against <sc:sd> 303 303 PASS Parsing: <?i> against <sc:sd/sd> 304 FAIL Parsing: <?i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 305 FAIL Parsing: <?i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 306 FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"307 FAIL Parsing: <#i> against <sc:sd> assert_equals: origin expected "null" but got "sc://" 308 FAIL Parsing: <#i> against <sc:sd/sd> assert_equals: origin expected "null" but got "sc://" 309 FAIL Parsing: <#i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 310 FAIL Parsing: <#i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 311 FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"304 PASS Parsing: <?i> against <sc:/pa/pa> 305 PASS Parsing: <?i> against <sc://ho/pa> 306 FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa" 307 PASS Parsing: <#i> against <sc:sd> 308 PASS Parsing: <#i> against <sc:sd/sd> 309 PASS Parsing: <#i> against <sc:/pa/pa> 310 PASS Parsing: <#i> against <sc://ho/pa> 311 FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa" 312 312 PASS Parsing: <about:/../> against <about:blank> 313 313 PASS Parsing: <data:/../> against <about:blank> 314 314 PASS Parsing: <javascript:/../> against <about:blank> 315 FAIL Parsing: <mailto:/../> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 316 FAIL Parsing: <sc://ñ.test/> against <about:blank> assert_equals: origin expected "null" but got "sc://xn--ida.test" 315 PASS Parsing: <mailto:/../> against <about:blank> 316 PASS Parsing: <sc://ñ.test/> against <about:blank> 317 317 FAIL Parsing: <sc:\../> against <about:blank> assert_equals: href expected "sc:\\../" but got "sc:/" 318 FAIL Parsing: <sc::a@example.net> against <about:blank> assert_equals: origin expected "null" but got "sc://" 318 PASS Parsing: <sc::a@example.net> against <about:blank> 319 319 PASS Parsing: <http://127.0.0.1:10100/relative_import.html> against <about:blank> 320 320 PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank> … … 337 337 PASS Parsing: <http:> against <http://example.org/foo/bar> 338 338 FAIL Parsing: <http:> against <https://example.org/foo/bar> assert_unreached: Expected URL to fail parsing Reached unreachable code 339 FAIL Parsing: <sc:> against <https://example.org/foo/bar> assert_equals: origin expected "null" but got "sc://" 339 PASS Parsing: <sc:> against <https://example.org/foo/bar> 340 340 -
trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt
r205893 r206165 12 12 > against <http://example.org/foo/bar> 13 13 PASS Parsing: < foo.com > against <http://example.org/foo/bar> 14 FAIL Parsing: <a: foo.com> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "a://" 14 PASS Parsing: <a: foo.com> against <http://example.org/foo/bar> 15 15 PASS Parsing: <http://f:21/ b ? d # e > against <http://example.org/foo/bar> 16 16 PASS Parsing: <http://f:/c> against <http://example.org/foo/bar> … … 54 54 PASS Parsing: <http:\\foo.com\> against <http://example.org/foo/bar> 55 55 PASS Parsing: <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar> 56 FAIL Parsing: <foo:/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://" 57 FAIL Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://" 58 FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"59 FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"60 FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "foo://"61 FAIL Parsing: <c:/foo> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "c://" 56 PASS Parsing: <foo:/> against <http://example.org/foo/bar> 57 PASS Parsing: <foo:/bar.com/> against <http://example.org/foo/bar> 58 FAIL Parsing: <foo://///////> against <http://example.org/foo/bar> assert_equals: pathname expected "///////" but got "/////////" 59 FAIL Parsing: <foo://///////bar.com/> against <http://example.org/foo/bar> assert_equals: pathname expected "///////bar.com/" but got "/////////bar.com/" 60 FAIL Parsing: <foo:////://///> against <http://example.org/foo/bar> assert_equals: pathname expected "//://///" but got "////://///" 61 PASS Parsing: <c:/foo> against <http://example.org/foo/bar> 62 62 PASS Parsing: <//foo/bar> against <http://example.org/foo/bar> 63 63 PASS Parsing: <http://foo/path;a??e#f#g> against <http://example.org/foo/bar> … … 75 75 PASS Parsing: <ftp:/example.com/> against <http://example.org/foo/bar> 76 76 PASS Parsing: <https:/example.com/> against <http://example.org/foo/bar> 77 FAIL Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://" 77 PASS Parsing: <madeupscheme:/example.com/> against <http://example.org/foo/bar> 78 78 PASS Parsing: <file:/example.com/> against <http://example.org/foo/bar> 79 FAIL Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://" 79 PASS Parsing: <ftps:/example.com/> against <http://example.org/foo/bar> 80 80 PASS Parsing: <gopher:/example.com/> against <http://example.org/foo/bar> 81 81 PASS Parsing: <ws:/example.com/> against <http://example.org/foo/bar> … … 83 83 PASS Parsing: <data:/example.com/> against <http://example.org/foo/bar> 84 84 PASS Parsing: <javascript:/example.com/> against <http://example.org/foo/bar> 85 FAIL Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://" 85 PASS Parsing: <mailto:/example.com/> against <http://example.org/foo/bar> 86 86 PASS Parsing: <http:example.com/> against <http://example.org/foo/bar> 87 87 PASS Parsing: <ftp:example.com/> against <http://example.org/foo/bar> 88 88 PASS Parsing: <https:example.com/> against <http://example.org/foo/bar> 89 FAIL Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "madeupscheme://" 90 FAIL Parsing: <ftps:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "ftps://" 89 PASS Parsing: <madeupscheme:example.com/> against <http://example.org/foo/bar> 90 PASS Parsing: <ftps:example.com/> against <http://example.org/foo/bar> 91 91 PASS Parsing: <gopher:example.com/> against <http://example.org/foo/bar> 92 92 PASS Parsing: <ws:example.com/> against <http://example.org/foo/bar> … … 94 94 PASS Parsing: <data:example.com/> against <http://example.org/foo/bar> 95 95 PASS Parsing: <javascript:example.com/> against <http://example.org/foo/bar> 96 FAIL Parsing: <mailto:example.com/> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "mailto://" 96 PASS Parsing: <mailto:example.com/> against <http://example.org/foo/bar> 97 97 PASS Parsing: </a/b/c> against <http://example.org/foo/bar> 98 98 PASS Parsing: </a/ /c> against <http://example.org/foo/bar> … … 101 101 FAIL Parsing: <#β> against <http://example.org/foo/bar> assert_equals: href expected "http://example.org/foo/bar#β" but got "http://example.org/foo/bar#%CE%B2" 102 102 PASS Parsing: <data:text/html,test#test> against <http://example.org/foo/bar> 103 FAIL Parsing: <tel:1234567890> against <http://example.org/foo/bar> assert_equals: origin expected "null" but got "tel://" 103 PASS Parsing: <tel:1234567890> against <http://example.org/foo/bar> 104 104 FAIL Parsing: <file:c:\foo\bar.html> against <file:///tmp/mock/path> assert_equals: href expected "file:///c:/foo/bar.html" but got "file:///tmp/mock/c:/foo/bar.html" 105 105 FAIL Parsing: < File:c|////foo\bar.html> against <file:///tmp/mock/path> assert_equals: href expected "file:///c:////foo/bar.html" but got "file:///tmp/mock/c|////foo/bar.html" … … 170 170 PASS Parsing: <http://foo:80/> against <about:blank> 171 171 PASS Parsing: <http://foo:81/> against <about:blank> 172 FAIL Parsing: <httpa://foo:80/> against <about:blank> assert_equals: origin expected "null" but got "httpa://foo:80" 172 PASS Parsing: <httpa://foo:80/> against <about:blank> 173 173 PASS Parsing: <http://foo:-80/> against <about:blank> 174 174 PASS Parsing: <https://foo:443/> against <about:blank> … … 189 189 PASS Parsing: <ftp:/example.com/> against <about:blank> 190 190 PASS Parsing: <https:/example.com/> against <about:blank> 191 FAIL Parsing: <madeupscheme:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://" 191 PASS Parsing: <madeupscheme:/example.com/> against <about:blank> 192 192 PASS Parsing: <file:/example.com/> against <about:blank> 193 FAIL Parsing: <ftps:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://" 193 PASS Parsing: <ftps:/example.com/> against <about:blank> 194 194 PASS Parsing: <gopher:/example.com/> against <about:blank> 195 195 PASS Parsing: <ws:/example.com/> against <about:blank> … … 197 197 PASS Parsing: <data:/example.com/> against <about:blank> 198 198 PASS Parsing: <javascript:/example.com/> against <about:blank> 199 FAIL Parsing: <mailto:/example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 199 PASS Parsing: <mailto:/example.com/> against <about:blank> 200 200 PASS Parsing: <http:example.com/> against <about:blank> 201 201 PASS Parsing: <ftp:example.com/> against <about:blank> 202 202 PASS Parsing: <https:example.com/> against <about:blank> 203 FAIL Parsing: <madeupscheme:example.com/> against <about:blank> assert_equals: origin expected "null" but got "madeupscheme://" 204 FAIL Parsing: <ftps:example.com/> against <about:blank> assert_equals: origin expected "null" but got "ftps://" 203 PASS Parsing: <madeupscheme:example.com/> against <about:blank> 204 PASS Parsing: <ftps:example.com/> against <about:blank> 205 205 PASS Parsing: <gopher:example.com/> against <about:blank> 206 206 PASS Parsing: <ws:example.com/> against <about:blank> … … 208 208 PASS Parsing: <data:example.com/> against <about:blank> 209 209 PASS Parsing: <javascript:example.com/> against <about:blank> 210 FAIL Parsing: <mailto:example.com/> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 210 PASS Parsing: <mailto:example.com/> against <about:blank> 211 211 PASS Parsing: <http:@www.example.com> against <about:blank> 212 212 PASS Parsing: <http:/@www.example.com> against <about:blank> … … 291 291 PASS Parsing: <http://[google.com]> against <http://other.com/> 292 292 FAIL Parsing: <http://foo:💩@example.com/bar> against <http://other.com/> Type error 293 FAIL Parsing: <#> against <test:test> assert_equals: origin expected "null" but got "test://" 294 FAIL Parsing: <#x> against <mailto:x@x.com> assert_equals: origin expected "null" but got "mailto://" 293 PASS Parsing: <#> against <test:test> 294 PASS Parsing: <#x> against <mailto:x@x.com> 295 295 PASS Parsing: <#x> against <data:,> 296 296 PASS Parsing: <#x> against <about:blank> 297 FAIL Parsing: <#> against <test:test?test> assert_equals: origin expected "null" but got "test://" 297 PASS Parsing: <#> against <test:test?test> 298 298 FAIL Parsing: <https://@test@test@example:800/> against <http://doesnotmatter/> Type error 299 299 FAIL Parsing: <https://@@@example> against <http://doesnotmatter/> Type error … … 304 304 PASS Parsing: <i> against <sc:sd> 305 305 PASS Parsing: <i> against <sc:sd/sd> 306 FAIL Parsing: <i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 307 FAIL Parsing: <i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 308 FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"306 PASS Parsing: <i> against <sc:/pa/pa> 307 PASS Parsing: <i> against <sc://ho/pa> 308 FAIL Parsing: <i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/i" but got "///pa/i" 309 309 PASS Parsing: <../i> against <sc:sd> 310 310 PASS Parsing: <../i> against <sc:sd/sd> 311 FAIL Parsing: <../i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 312 FAIL Parsing: <../i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 313 FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"311 PASS Parsing: <../i> against <sc:/pa/pa> 312 PASS Parsing: <../i> against <sc://ho/pa> 313 FAIL Parsing: <../i> against <sc:///pa/pa> assert_equals: pathname expected "/i" but got "///i" 314 314 PASS Parsing: </i> against <sc:sd> 315 315 PASS Parsing: </i> against <sc:sd/sd> 316 FAIL Parsing: </i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 317 FAIL Parsing: </i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 316 PASS Parsing: </i> against <sc:/pa/pa> 317 PASS Parsing: </i> against <sc://ho/pa> 318 318 FAIL Parsing: </i> against <sc:///pa/pa> assert_equals: href expected "sc:///i" but got "sc:/i" 319 319 PASS Parsing: <?i> against <sc:sd> 320 320 PASS Parsing: <?i> against <sc:sd/sd> 321 FAIL Parsing: <?i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 322 FAIL Parsing: <?i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 323 FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"324 FAIL Parsing: <#i> against <sc:sd> assert_equals: origin expected "null" but got "sc://" 325 FAIL Parsing: <#i> against <sc:sd/sd> assert_equals: origin expected "null" but got "sc://" 326 FAIL Parsing: <#i> against <sc:/pa/pa> assert_equals: origin expected "null" but got "sc://" 327 FAIL Parsing: <#i> against <sc://ho/pa> assert_equals: origin expected "null" but got "sc://ho" 328 FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: origin expected "null" but got "sc://"321 PASS Parsing: <?i> against <sc:/pa/pa> 322 PASS Parsing: <?i> against <sc://ho/pa> 323 FAIL Parsing: <?i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa" 324 PASS Parsing: <#i> against <sc:sd> 325 PASS Parsing: <#i> against <sc:sd/sd> 326 PASS Parsing: <#i> against <sc:/pa/pa> 327 PASS Parsing: <#i> against <sc://ho/pa> 328 FAIL Parsing: <#i> against <sc:///pa/pa> assert_equals: pathname expected "/pa/pa" but got "///pa/pa" 329 329 PASS Parsing: <about:/../> against <about:blank> 330 330 PASS Parsing: <data:/../> against <about:blank> 331 331 PASS Parsing: <javascript:/../> against <about:blank> 332 FAIL Parsing: <mailto:/../> against <about:blank> assert_equals: origin expected "null" but got "mailto://" 333 FAIL Parsing: <sc://ñ.test/> against <about:blank> assert_equals: origin expected "null" but got "sc://xn--ida.test" 332 PASS Parsing: <mailto:/../> against <about:blank> 333 PASS Parsing: <sc://ñ.test/> against <about:blank> 334 334 FAIL Parsing: <sc:\../> against <about:blank> assert_equals: href expected "sc:\\../" but got "sc:/" 335 FAIL Parsing: <sc::a@example.net> against <about:blank> assert_equals: origin expected "null" but got "sc://" 335 PASS Parsing: <sc::a@example.net> against <about:blank> 336 336 PASS Parsing: <http://127.0.0.1:10100/relative_import.html> against <about:blank> 337 337 PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank> … … 355 355 FAIL Parsing: <http:> against <https://example.org/foo/bar> assert_throws: function "function () { 356 356 bURL(expected.input, expected.bas..." did not throw 357 FAIL Parsing: <sc:> against <https://example.org/foo/bar> assert_equals: origin expected "null" but got "sc://" 357 PASS Parsing: <sc:> against <https://example.org/foo/bar> 358 358 -
trunk/Source/WebCore/ChangeLog
r206163 r206165 1 2016-09-20 Alex Christensen <achristensen@webkit.org> 2 3 Non-special URLs should have an opaque origin 4 https://bugs.webkit.org/show_bug.cgi?id=162254 5 6 Reviewed by Sam Weinig. 7 8 Covered by newly passing web platform tests. 9 10 * page/SecurityOrigin.cpp: 11 (WebCore::shouldTreatAsUniqueOrigin): 12 According to https://url.spec.whatwg.org/#origin all URLs with non-special protocols 13 should have a unique SecurityOrigin whose serialization is "null". 14 1 15 2016-09-20 Christopher Reid <Christopher.Reid@am.sony.com> 2 16 -
trunk/Source/WebCore/page/SecurityOrigin.cpp
r205405 r206165 59 59 if (url.protocolIsBlob()) 60 60 return true; 61 UNUSED_PARAM(url);62 61 return false; 63 62 } … … 100 99 101 100 // This is the common case. 102 return false; 101 return !innerURL.protocolIsInHTTPFamily() 102 && !innerURL.protocolIs("file") 103 && !innerURL.protocolIs("ftp") 104 && !innerURL.protocolIs("gopher") 105 && !innerURL.protocolIs("ws") 106 && !innerURL.protocolIs("wss"); 103 107 } 104 108
Note: See TracChangeset
for help on using the changeset viewer.