urlpattern
urlpattern copied to clipboard
URL Pattern Standard
Why is it "canonicalize a search" and not "canonicalize a query"? Same for the other bits.
The specification would benefit from moving some of the text in the explainer document into the actual specification. As well as having more examples.
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...
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...
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...
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...
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...
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...
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...
- 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...