Re: [ServiceWorker] Make secure context requirements more explicit (#754)

> But more importantly, I'm not sure what requirements this is actually trying to impose on which parts of the API.

I think it depends on this discussion: https://github.com/slightlyoff/ServiceWorker/issues/754#issuecomment-144329370. If it turns out the minimum requirement there is enough, additional guards in the method for secure context would not be required. Otherwise, I can add them where they make sense.

> "uncontrolled service worker clients" (not sure if there is such a thing)

_Service worker clients_ as a spec concept is just an environment settings object. An uncontrolled client is a client within the same origin but currently uncontrolled as like it's out-of-scope. One such client can be gotten by e.g.:
`self.clients.matchAll({ includeUncontrolled: true })`.

I agree this text ("the controlled service worker clients should also be secure contexts") should be clarified too. Thanks for having pointed them out.

/cc @slightlyoff @jakearchibald 

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/754#issuecomment-144331527

Received on Wednesday, 30 September 2015 08:56:32 UTC