haikuwebkit/LayoutTests/fetch
Alex Christensen 1568dce2f8 "http:" should not be a valid URL
https://bugs.webkit.org/show_bug.cgi?id=217250

Reviewed by Brady Eidson.

LayoutTests/imported/w3c:

* web-platform-tests/url/a-element-expected.txt:
* web-platform-tests/url/a-element-xhtml-expected.txt:
* web-platform-tests/url/url-constructor-expected.txt:

Source/WebCore:

* workers/service/context/ServiceWorkerThreadProxy.cpp:
(WebCore::topOriginURL):
Fix strange code written in r226257 that relied on the ability to assemble URLs starting with the protocol only.

Source/WTF:

Same with https, ws, wss, and for some reason ftp.
This matches the URL specification and Chrome and Firefox.

* wtf/URLParser.cpp:
(WTF::URLParser::parse):

Tools:

* TestWebKitAPI/Tests/WTF/URLParser.cpp:
(TestWebKitAPI::TEST_F):

LayoutTests:

* platform/mac-wk1/imported/w3c/web-platform-tests/url/failure-expected.txt: Removed.



Canonical link: https://commits.webkit.org/230042@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 18:39:27 +00:00
..
body-init-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
body-init.html
closing-while-fetching-blob-expected.txt DumpRenderTree crashed in com.apple.WebCore: WTF::Optional<WebCore::FetchBodyOwner::BlobLoader>::operator bool const + 12 2016-09-30 08:27:02 +00:00
closing-while-fetching-blob.html DumpRenderTree crashed in com.apple.WebCore: WTF::Optional<WebCore::FetchBodyOwner::BlobLoader>::operator bool const + 12 2016-09-30 08:27:02 +00:00
fetch-error-messages-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
fetch-error-messages.html
fetch-url-serialization-expected.txt "http:" should not be a valid URL 2020-10-03 18:39:27 +00:00
fetch-url-serialization.html
fetch-urls.json
fetch-worker-crash-expected.txt
fetch-worker-crash.html
fetch-worker-crash.js
header-constructor-is-array-expected.txt [WebIDL] Remove JS builtin bindings for FetchHeaders 2017-07-29 02:35:56 +00:00
header-constructor-is-array.html [WebIDL] Remove JS builtin bindings for FetchHeaders 2017-07-29 02:35:56 +00:00
header-constructor-overriden-expected.txt Make use of PrivateIdentifier to simplify Fetch Headers built-in checks 2016-07-09 12:57:37 +00:00
header-constructor-overriden.html Make use of PrivateIdentifier to simplify Fetch Headers built-in checks 2016-07-09 12:57:37 +00:00
header-constructor-subclass-expected.txt
header-constructor-subclass.html
shadowing-forEach-expected.txt
shadowing-forEach.html