Re: [w3c/ServiceWorker] scope pattern matching (#1468)

A list of strings would look better to me than passing a URLPatternList, especially if URLPattern can do origin matching and so on. Reusing algorithms defined by the urlpattern spec in the service worker spec seems like a good idea.

Note sure about URLPathnamePattern, would need to look at it.

> how does that improve the concern about developer expectations?

There is higher expectation with more focused types than base types like strings.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1468#issuecomment-707191309

Received on Monday, 12 October 2020 15:32:34 UTC