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

I'm not getting the bug here. The browser is free to shut down the SW when
it isn't in use.

On Thu, 15 Dec 2016, 16:02 ArturoWipe, <notifications@github.com> wrote:

> 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, view it on GitHub
> <https://github.com/w3c/ServiceWorker/issues/1029>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAFtmvMaSjuCbIOc-DgNCEuwH-Ya0Litks5rIWSGgaJpZM4LOQlv>
> .
>


-- 
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#issuecomment-267379274

Received on Thursday, 15 December 2016 16:52:44 UTC