Re: [ServiceWorker] Clients & postMessage (#609)

I don't think this exposes GC, it's the closing of a window it exposes, and
that seems fine to expose.

On Wed, 25 Feb 2015 11:02 John Mellor <notifications@github.com> wrote:

> @annevk <https://github.com/annevk> wrote:
>
> @KenjiBaheux <https://github.com/KenjiBaheux> we did not discuss a return
> value for postMessage(). Wouldn't exposing one expose GC?
>
> Not really, there are many reasons why the postMessage could fail, such as
> the user having closed the tab, or JS having navigated the tab to a
> non-same-origin URL.
>
> It's #626 <https://github.com/slightlyoff/ServiceWorker/issues/626> which
> would arguably expose evicted tabs (which I think is what you refer to by
> GC).
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/slightlyoff/ServiceWorker/issues/609#issuecomment-75942060>
> .
>


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

Received on Wednesday, 25 February 2015 19:43:28 UTC