- From: Ben Kelly <notifications@github.com>
- Date: Thu, 21 Dec 2017 03:24:49 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 21 December 2017 03:25:13 UTC
Currently step 4 here: https://w3c.github.io/ServiceWorker/#client-navigate Requires that the `Client.navigate(url)` method reject if its called a Client that is not controlled by the current service worker. What is the purpose of this restriction? I believe an origin could easily use `Client.postMessage()` and then modify `window.location`. AIUI this is the same rationale why we don't require interaction for `navigate()`. Is this restriction legacy from before `includeUncontrolled:true`? This came up because we were not aware of this spec step and I tried to fix the WPT in https://github.com/w3c/web-platform-tests/pull/8743. -- 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/1254
Received on Thursday, 21 December 2017 03:25:13 UTC