Re: [slightlyoff/ServiceWorker] spec should queue tasks to expose attribute changes on ServiceWorker and ServiceWorkerRegistration (#860)

>>        Bug in Gecko: registration.installing and activating currently returns null

> Hm.. always? I am using it here: https://github.com/NekR/offline-plugin/blob/v3/tpls/runtime-template.js#L15

In gecko we expose registration.installing, etc on main thread windows, but not on worker threads yet.  So if you use `self.registration.active` in the service worker itself you will always get null in firefox at the moment.

Our bug to fix:

  https://bugzilla.mozilla.org/show_bug.cgi?id=1113522

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/860#issuecomment-209131283

Received on Tuesday, 12 April 2016 22:36:06 UTC