Skip to content

Conversation

@shannonbooth
Copy link
Member

@shannonbooth shannonbooth commented Mar 19, 2025

The list inputs is an array of URLPatternInput which can only
be either a USVString or a URLPatternInit. To handle the case
where a URL is passed through, we need to append the serialization
of that URL.

This was the source of my confusion in #264 as I was thinking it could only be a URLPatternInput.


Preview | Diff

The list `inputs` is an array of `URLPatternInput` which can only
be either a `USVString` or a `URLPatternInit`. To handle the case
where a URL is passed through, we need to append the serialization
of that URL.
@annevk annevk merged commit e84799f into whatwg:main Mar 24, 2025
2 checks passed
@shannonbooth shannonbooth deleted the url-serialization branch March 24, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants