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

URLPattern: Reflect "inherit left, wildcard right" behavior from whatwg/urlpattern#198. #30024

Open
jeremyroman opened this issue Nov 3, 2023 · 2 comments

Comments

@jeremyroman
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/URLPattern/URLPattern

What specific section or headline is this issue about?

Usage notes

What information was incorrect, unhelpful, or incomplete?

If/when whatwg/urlpattern#198 is merged, the MDN description of the constructor should be updated to reflect it.

What did you expect to see?

All current examples should continue to work as described, but the description of how base URL inheritance works will become slightly misleading and some description of which components are wildcarded in constructor strings might be useful.

Do you have any supporting links, references, or citations?

whatwg/urlpattern#198

No changes needed until it is merged, but a filed MDN issue is a prerequisite to that under the WHATWG working mode.

Do you have anything more you want to share?

No response

@jeremyroman jeremyroman added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Nov 3, 2023
@github-actions github-actions bot added the Content:WebAPI Web API docs label Nov 3, 2023
@hamishwillee hamishwillee added Content:WebAPI Web API docs and removed Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Nov 5, 2023
@hamishwillee
Copy link
Collaborator

If/when whatwg/urlpattern#198 is merged, the MDN description of the constructor should be updated to reflect it.

FYI the trigger for an MDN update is both the spec updating and implementation in at least browser. I've added dev-doc-needed to the Mozilla issue, so docs will happen at latest when that goes in.

@jeremyroman
Copy link
Author

Understood; this is in expected to ship in Chrome 121 (modulo any unexpected problems).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants