Re: [ServiceWorker] Should the active worker move to environment settings object? (#811)

For workers it's fine to use the global object. I'm not saying the state is unnecessary, I'm just saying to put it on documents when the global is Window, and on the global elsewhere.

(And the reason the Window global is so messed up, not sure. Largely history at this point. We should probably explain that a bit somewhere if we haven't already.)

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

Received on Wednesday, 20 January 2016 13:41:40 UTC