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: URL.canParse() #39069

Merged
merged 2 commits into from Mar 20, 2023
Merged

URL: URL.canParse() #39069

merged 2 commits into from Mar 20, 2023

Conversation

annevk
Copy link
Member

@annevk annevk commented Mar 18, 2023

Copy link
Contributor

@ricea ricea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

"expected": true
}
].forEach(({ url, base, expected }) => {
test(t => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: t is unused.

@annevk annevk merged commit 7c5c3cc into master Mar 20, 2023
19 checks passed
@annevk annevk deleted the annevk/canparse branch March 20, 2023 09:13
annevk added a commit to whatwg/url that referenced this pull request Mar 20, 2023
@zloirock
Copy link

zloirock commented Apr 6, 2023

I think that also should be added tests for something like URL.canParse({ toString() { throw Error() } }).

@zloirock
Copy link

One more case.

@annevk
Copy link
Member Author

annevk commented Apr 11, 2023

Create a PR? Happy to review next week.

@zloirock
Copy link

Similar Deno bug.

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

5 participants