urlpattern icon indicating copy to clipboard operation
urlpattern copied to clipboard

URL Pattern Standard

Results 38 urlpattern issues
Sort by recently updated
recently updated
newest added

Why is it "canonicalize a search" and not "canonicalize a query"? Same for the other bits.

clarification

The specification would benefit from moving some of the text in the explainer document into the actual specification. As well as having more examples.

clarification

I’m pretty confused by the search params matching behavior. First I’d note that WHATWG URL seems to (effectively?) define some (narrow) canonicalization rules via the URLSearchParams interface: 1. "foo=" and...

addition/proposal

I can see that the design document mentions `toRegExp`, but that it's not in the shipped versions or specification drafts. To use `URLPattern` as the source of truth for routing...

addition/proposal

One of the most frequent pieces of feedback we have gotten is that developers would like to generate URL and component strings from a URLPattern. For example, something like: ```javascript...

addition/proposal

Currently each component in a URLPattern produces a separate `groups` map. They are accessed like `result.pathname.groups`, `result.hostname.groups`, etc. This is a bit verbose and also requires the person accessing the...

addition/proposal

In this twitter thread: https://twitter.com/posva/status/1418470155579953153 It was pointed out having an ordering for patterns is helpful for routering framework. I have a plan to provide an ordering for restricted patterns...

addition/proposal

After the last face-to-face meeting we changed the plan to make service worker scope take a pathname patter string instead of a full URLPattern object and an array of strings...

addition/proposal

During the call in w3c/ServiceWorker#1535 @asutherland asked if these types will be serializable. I interpreted this as asking if they can be structured cloned. I think it makes sense to...

addition/proposal

- docs/urlpattern.md: it's basically a redirect - mdn-drafts/QUICK-REFERENCE.md: subsumed by actual MDN docs, I think? https://developer.mozilla.org/en-US/docs/Web/API/URLPattern - 202012-update.md, dev-trials-feedback.md, howto.md: these seem like artifacts from the development process and/or Chromium...