-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Suggested additional WHATWG URL test coverage #20720
Labels
whatwg-url
Issues and PRs related to the WHATWG URL implementation.
Comments
addaleax
added
the
whatwg-url
Issues and PRs related to the WHATWG URL implementation.
label
May 14, 2018
@nodejs/url |
3 tasks
joyeecheung
added a commit
to joyeecheung/node
that referenced
this issue
May 17, 2018
> If `failure` is true, parsing `about:blank` against `base` > must give failure. This tests that the logic for converting > base URLs into strings properly fails the whole parsing > algorithm if the base URL cannot be parsed. Fixes: nodejs#20720
MylesBorins
pushed a commit
that referenced
this issue
May 22, 2018
> If `failure` is true, parsing `about:blank` against `base` > must give failure. This tests that the logic for converting > base URLs into strings properly fails the whole parsing > algorithm if the base URL cannot be parsed. Fixes: #20720 PR-URL: #20796 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
May 23, 2018
> If `failure` is true, parsing `about:blank` against `base` > must give failure. This tests that the logic for converting > base URLs into strings properly fails the whole parsing > algorithm if the base URL cannot be parsed. Fixes: #20720 PR-URL: #20796 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In web-platform-tests/wpt#10955 we are slightly changing the way in which bad base URLs are tested for the WHATWG URL API's canonical urltestdata.json file. I believe Node also makes use of that file and so might want to adapt.
Basically, we are removing the three tests that currently exist which test bad base URLs, in favor of the following:
You can see an example of how to do this in jsdom/whatwg-url#116; probably Node.js will want to do something similar.
The text was updated successfully, but these errors were encountered: