[w3c/ServiceWorker] Confusing "Updating a service worker" section in explainer (#1111)

In https://github.com/w3c/ServiceWorker/blob/master/explainer.md#updating-a-service-worker
it's explained how service worker is managed when multiple tabs are opened.

In the third paragraph it's written "This avoids the problem of two versions of a site running at the same time, in different tabs."
but then "Our current strategy for this is “cross fingers, hope it doesn’t happen”."

Those are two contradictory statements. 

So how it really works? Is it always by default working like in the example (new service worker takes place only when all tabs get closed) or some work is needed to handle multiple tabs (and if not, there is danger that some tabs have different service workers at the same time)? 

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

Received on Sunday, 9 April 2017 02:22:50 UTC