- From: Jungkee Song <notifications@github.com>
- Date: Tue, 22 Sep 2015 00:01:25 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 22 September 2015 07:02:03 UTC
@romandev asked this question while implementing `navigate()` in Blink. The spec currently disallows navigate() for off-scope clients. (See [navigate(url) step 4](https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client-navigate)) E.g. a SW can get an off-scope client by - `clients.matchAll({ includeUncontrolled: true })` - `client.navigate(to-off-scope-url).then(off-scope-client => { off-scope-client.navigate(url); }) And those reject with a TypeError. Was it intended? Should we allow the same origin but off-scope clients to navigate? --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/752
Received on Tuesday, 22 September 2015 07:02:03 UTC