- From: Jake Archibald <notifications@github.com>
- Date: Tue, 19 May 2015 07:10:44 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 19 May 2015 14:11:17 UTC
Another use-case for this: Say a site ships a broken ServiceWorker. It fixes it. The new version should be able to `skipWaiting`, `clients.claim()` and reload all the clients. I'll spec `windowClient.navigate(url)`, where `url` defaults to the current url, so `windowClient.navigate()` reloads. `url` is relative to the SW. If `url` only differs in fragment, or does not differ at all, the page will still reload. Therefore calling `.navigate` will always cause a fetch of the url. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/681#issuecomment-103512559
Received on Tuesday, 19 May 2015 14:11:17 UTC