Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL: tests for URL.parse() #45248

Merged
merged 3 commits into from
Mar 25, 2024
Merged

URL: tests for URL.parse() #45248

merged 3 commits into from
Mar 25, 2024

Conversation

annevk
Copy link
Member

@annevk annevk commented Mar 21, 2024

As per whatwg/url#372.

@wpt-pr-bot wpt-pr-bot added the url label Mar 21, 2024
annevk added a commit to whatwg/url that referenced this pull request Mar 21, 2024
@annevk annevk mentioned this pull request Mar 21, 2024
5 tasks
annevk added a commit to whatwg/url that referenced this pull request Mar 21, 2024
@annevk annevk merged commit 0f550ab into master Mar 25, 2024
19 checks passed
@annevk annevk deleted the annevk/URL.parse branch March 25, 2024 10:07
annevk added a commit to whatwg/url that referenced this pull request Mar 25, 2024
webkit-commit-queue pushed a commit to annevk/WebKit that referenced this pull request Mar 25, 2024
https://bugs.webkit.org/show_bug.cgi?id=271636

Reviewed by Alex Christensen.

This was standardized in whatwg/url#825 and test
coverage was added here:
web-platform-tests/wpt#45248

As a drive-by fix we remove m_baseURL from DOMURL as it does not need it.

* LayoutTests/imported/w3c/web-platform-tests/url/url-statics-parse.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/url/url-statics-parse.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/url/url-statics-parse.any.js: Added.
(forEach):
(test):
* LayoutTests/imported/w3c/web-platform-tests/url/url-statics-parse.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/url/url-statics-parse.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/url/w3c-import.log:
* Source/WebCore/html/DOMURL.cpp:
(WebCore::DOMURL::DOMURL):
(WebCore::DOMURL::create):
(WebCore::parseInternal):
(WebCore::DOMURL::parse):
(WebCore::DOMURL::canParse):
* Source/WebCore/html/DOMURL.h:
* Source/WebCore/html/DOMURL.idl:

Canonical link: https://commits.webkit.org/276656@main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants