[w3c/ServiceWorker] activation of the Service Worker on an iframe context (#1029)

### Before Chome 54:

- register to a Service Worker with a `domain.com` scope
- go to an HTTPS page with a different domain (`other-domain.com`), that include an HTTPS iframe (`domain.com`) that fall under the Service Worker scope
- the `domain.com` Service Worker is activated and is **running**

### Since Chrome 54:

- register to a Service Worker with a `domain.com` scope
- go to an HTTPS page with a different domain (`other-domain.com`), that include an HTTPS iframe (`domain.com`) that fall under the Service Worker scope
- the `domain.com` Service Worker is activated and is **stopped**
- Service Worker events **will force it to run** (e.g. the installation of a new version, or even a `postMessage()` from the iframe)

### Other contexts
- with Firefox (tested on the FirefoxDeveloperEdition 52), the Service Worker will be activated and **running**
- same behavior if we visit the `domain.com` directly, i.e. without the iframe context, the Service Worker is **running** (we can take this [example](https://jakearchibald.github.io/trained-to-thrill/) from Jake Archibald)


-- 
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/1029

Received on Thursday, 15 December 2016 16:03:19 UTC