Changeset 267933 in webkit
- Timestamp:
- Oct 3, 2020, 2:17:06 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r267931 r267933 1 2020-10-03 Alex Christensen <achristensen@webkit.org> 2 3 Add extra slash after empty host copied from base URL if path is also empty 4 https://bugs.webkit.org/show_bug.cgi?id=217278 5 6 Reviewed by Darin Adler. 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 2020-10-03 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt
r267931 r267933 565 565 PASS Parsing: <test-a-colon-b.html> against <a:b> 566 566 PASS Parsing: <test-a-colon-slash.html> against <a:/> 567 FAIL Parsing: <test-a-colon-slash-slash.html> against <a://> assert_equals: href expected "a:///test-a-colon-slash-slash.html" but got "a://test-a-colon-slash-slash.html" 567 PASS Parsing: <test-a-colon-slash-slash.html> against <a://> 568 568 PASS Parsing: <test-a-colon-slash-b.html> against <a:/b> 569 569 PASS Parsing: <test-a-colon-slash-slash-b.html> against <a://b> -
trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt
r267931 r267933 565 565 PASS Parsing: <test-a-colon-b.html> against <a:b> 566 566 PASS Parsing: <test-a-colon-slash.html> against <a:/> 567 FAIL Parsing: <test-a-colon-slash-slash.html> against <a://> assert_equals: href expected "a:///test-a-colon-slash-slash.html" but got "a://test-a-colon-slash-slash.html" 567 PASS Parsing: <test-a-colon-slash-slash.html> against <a://> 568 568 PASS Parsing: <test-a-colon-slash-b.html> against <a:/b> 569 569 PASS Parsing: <test-a-colon-slash-slash-b.html> against <a://b> -
trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt
r267931 r267933 566 566 PASS Parsing: <test-a-colon-b.html> against <a:b> 567 567 PASS Parsing: <test-a-colon-slash.html> against <a:/> 568 FAIL Parsing: <test-a-colon-slash-slash.html> against <a://> assert_equals: href expected "a:///test-a-colon-slash-slash.html" but got "a://test-a-colon-slash-slash.html" 568 PASS Parsing: <test-a-colon-slash-slash.html> against <a://> 569 569 PASS Parsing: <test-a-colon-slash-b.html> against <a:/b> 570 570 PASS Parsing: <test-a-colon-slash-slash-b.html> against <a://b> -
trunk/Source/WTF/ChangeLog
r267931 r267933 1 2020-10-03 Alex Christensen <achristensen@webkit.org> 2 3 Add extra slash after empty host copied from base URL if path is also empty 4 https://bugs.webkit.org/show_bug.cgi?id=217278 5 6 Reviewed by Darin Adler. 7 8 * wtf/URLParser.cpp: 9 (WTF::URLParser::parse): 10 1 11 2020-10-03 Alex Christensen <achristensen@webkit.org> 2 12 -
trunk/Source/WTF/wtf/URLParser.cpp
r267931 r267933 1331 1331 default: 1332 1332 copyURLPartsUntil(base, URLPart::PathAfterLastSlash, c, nonUTF8QueryEncoding); 1333 if (currentPosition(c) && parsedDataView(currentPosition(c) - 1) != '/') { 1333 if ((currentPosition(c) && parsedDataView(currentPosition(c) - 1) != '/') 1334 || (base.host().isEmpty() && base.path().isEmpty())) { 1334 1335 appendToASCIIBuffer('/'); 1335 1336 m_url.m_pathAfterLastSlash = currentPosition(c); -
trunk/Tools/ChangeLog
r267931 r267933 1 2020-10-03 Alex Christensen <achristensen@webkit.org> 2 3 Add extra slash after empty host copied from base URL if path is also empty 4 https://bugs.webkit.org/show_bug.cgi?id=217278 5 6 Reviewed by Darin Adler. 7 8 * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBPersistence.mm: 9 1 10 2020-10-03 Alex Christensen <achristensen@webkit.org> 2 11 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBPersistence.mm
r267763 r267933 368 368 data = [NSData dataWithBytes:workerFrameBytes length:strlen(workerFrameBytes)]; 369 369 } else { 370 EXPECT_WK_STREQ("iframe:// worker.js", requestURL.absoluteString);370 EXPECT_WK_STREQ("iframe:///worker.js", requestURL.absoluteString); 371 371 response = adoptNS([[NSURLResponse alloc] initWithURL:requestURL MIMEType:@"text/javascript" expectedContentLength:0 textEncodingName:nil]); 372 372 data = [NSData dataWithBytes:workerBytes length:strlen(workerBytes)];
Note:
See TracChangeset
for help on using the changeset viewer.