Intent to Prototype: URLPatternList

215 views
Skip to first unread message

Ben Kelly

unread,
Oct 20, 2022, 2:54:09 PM10/20/22
to blink-dev

Contact emails

wande...@chromium.org

Explainer

https://github.com/WICG/urlpattern/pull/166#issue-1224277880

Specification



Summary

Add a `URLPatternList` primitive to efficiently match URLs against a collection of `URLPattern` objects.



Blink component

Blink>URLPattern

Motivation

URL routing use cases need to match an incoming URL against a potentially large number of patterns. Using an array of URLPattern objects that are checked sequentially is not efficient. An object representing a list of patterns can perform more efficient matching by using internal data structures that take advantage of commonalities between patterns in the list.



Initial public proposal



TAG review



TAG review status

Pending

Risks



Interoperability and Compatibility



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?



Debuggability



Is this feature fully tested by web-platform-tests?

No

Flag name



Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1377054

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5083533924630528
Reply all
Reply to author
Forward
0 new messages