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 API #61

Closed
brentfulgham opened this issue Sep 9, 2022 · 7 comments
Closed

URLPattern API #61

brentfulgham opened this issue Sep 9, 2022 · 7 comments
Assignees
Labels
from: Google Proposed, edited, or co-edited by Google. position: support topic: service workers topic: web apis Spec relates to web APIs (entry points for script) venue: WHATWG URL Workstream

Comments

@brentfulgham
Copy link

brentfulgham commented Sep 9, 2022

Request for position on an emerging web specification

Information about the spec

Design reviews and vendor positions

Bugs tracking this feature

  • WebKit Bugzilla:
  • Radar:

Anything else we need to know

This proposal creates a native web API to match URLs called URLPattern. URLPattern would support both web developer use in JS and native URL matching in other web APIs. For example, the initial use cases discuss using URLPattern for service worker scope matching.

@brentfulgham brentfulgham added topic: web apis Spec relates to web APIs (entry points for script) topic: service workers venue: WICG Proposal is incubated in the Web Incubator Community Group labels Sep 9, 2022
@othermaciej othermaciej added the from: Google Proposed, edited, or co-edited by Google. label Sep 26, 2022
@karlcow
Copy link
Member

karlcow commented Sep 26, 2022

@wanderview
Copy link

FYI, we are making a small enhancement to URLPattern to add the option to perform case-insensitive matching. This was a web developer community request. Please see:

https://groups.google.com/a/chromium.org/g/blink-dev/c/hNUoDg94-_8/m/-Cnv2qyMAAAJ
whatwg/urlpattern#148

Note, since this is a small change I thought it might be better to comment here instead of creating a new issue. If you would prefer a new issue, please let me know.

@annevk
Copy link
Contributor

annevk commented Oct 7, 2022

Thanks @wanderview, that seems fine. If you have the time, what is the latest on getting this more formally standardized as well as fixing some of the remaining issues?

@wanderview
Copy link

If you mean moving urlpattern into whatwg, that is still something I would like to do but is a lower priority at the moment. If another browser indicates they want to start implementing it would raise the priority of doing that work.

@annevk annevk added concerns: venue This proposal is in the wrong standards/incubation venue, or it's not in a venue at all concerns: maintenance It's not clear the proposal is getting maintained. labels Nov 28, 2022
@annevk
Copy link
Contributor

annevk commented Apr 28, 2023

I'm going to mark this as blocked. We'd be supportive of this if it was maintained and the venue issue was resolved. Additionally if-and-when we should carefully look at the CSP use cases around matching and ensure there's parity.

@annevk annevk added the blocked Coming to a position is blocked on issues identified with the spec or proposal. label Apr 28, 2023
@annevk annevk added venue: WHATWG URL Workstream and removed blocked Coming to a position is blocked on issues identified with the spec or proposal. concerns: venue This proposal is in the wrong standards/incubation venue, or it's not in a venue at all concerns: maintenance It's not clear the proposal is getting maintained. venue: WICG Proposal is incubated in the Web Incubator Community Group labels Oct 18, 2023
@annevk
Copy link
Contributor

annevk commented Oct 18, 2023

After having discussed this at the most recent W3C TPAC, the maintenance issue and venue question have been resolved. As mentioned above I suggest we mark this as "position: support" one week from now therefore.

@lukewarlow
Copy link
Member

Just as an fyi the spec is now published at https://urlpattern.spec.whatwg.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Google Proposed, edited, or co-edited by Google. position: support topic: service workers topic: web apis Spec relates to web APIs (entry points for script) venue: WHATWG URL Workstream
Development

No branches or pull requests

7 participants