-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1823354 - Implement URL.canParse() r=emilio
Implemented URL.canParse() static function for checking if a URL can be parsed (instead of having to try wrap the constructor). Avoids using an ErrorResult/Throws as it is not specified, and for performance (see spec issue from linked PR). All WPT tests for it now pass. Spec PR: whatwg/url#763 WPT tests: https://wpt.fyi/results/url/url-statics-canparse.any.html Differential Revision: https://phabricator.services.mozilla.com/D179617
- Loading branch information
1 parent
b6018cc
commit b4bb5c7
Showing
4 changed files
with
33 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
testing/web-platform/meta/url/url-statics-canparse.any.js.ini
This file was deleted.
Oops, something went wrong.