It is not valid for the baseURL dictionary member to be null, only either absent or a USVString. Instead, this should be omitted from the dictionary altogether if no string was provided to this algorithm.
Any string which is invalid will fail later on, when it is to be parsed as a URL.
Fixes #204.
[x] At least two implementers are interested (and none opposed):
Google Chrome
n/a (change is simply fixing a bug in a non-controversial way, per this comment)
[x] Tests are written and can be reviewed and commented upon at:
n/a (this is a fix to how the spec expresses this, but does not represent a behavior change, and existing tests cover this behavior)
PR Preview failed to build. (Last tried on Jan 26, 2024, 5:11 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
:rotating_light: [CSS Spec Preprocessor](https://api.csswg.org/bikeshed/) - CSS Spec Preprocessor is the web service used to build Bikeshed specs.
:link: [Related URL](https://api.csswg.org/bikeshed/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fwhatwg%2Furlpattern%2F226dee4d836b2f5e54e2e8e5ad4b358f37df9b0c%2Fspec.bs&force=1&md-status=LS-PR&md-Text-Macro=PR-NUMBER%20213)
_If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please [file an issue](https://github.com/tobie/pr-preview/issues/new?title=Error%20not%20surfaced%20properly&body=See%20whatwg/urlpattern%23213.)._
It is not valid for the baseURL dictionary member to be null, only either absent or a USVString. Instead, this should be omitted from the dictionary altogether if no string was provided to this algorithm.
Any string which is invalid will fail later on, when it is to be parsed as a URL.
Fixes #204.
(See WHATWG Working Mode: Changes for more details.)
:boom: Error: 400 Bad Request :boom:
PR Preview failed to build. (Last tried on Jan 26, 2024, 5:11 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one: :rotating_light: [CSS Spec Preprocessor](https://api.csswg.org/bikeshed/) - CSS Spec Preprocessor is the web service used to build Bikeshed specs. :link: [Related URL](https://api.csswg.org/bikeshed/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fwhatwg%2Furlpattern%2F226dee4d836b2f5e54e2e8e5ad4b358f37df9b0c%2Fspec.bs&force=1&md-status=LS-PR&md-Text-Macro=PR-NUMBER%20213) _If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please [file an issue](https://github.com/tobie/pr-preview/issues/new?title=Error%20not%20surfaced%20properly&body=See%20whatwg/urlpattern%23213.)._