- From: Jake Archibald <notifications@github.com>
- Date: Wed, 09 Jan 2019 01:46:46 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 January 2019 09:47:09 UTC
> but I know that the page will never try to access `https://myimagecdn.foo/some_path` so it's fine that both match. That seems really fragile vs: ```js if (url.origin === location.origin && url.pathname == '/some_path') { // … } ``` I wouldn't want developers to be matching a path on all origins unless it's explicit. -- 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/1373#issuecomment-452635032
Received on Wednesday, 9 January 2019 09:47:09 UTC