Re: [w3c/ServiceWorker] Add a script version property to the ServiceWorker object (#1387)

@philipwalton FWIW, LinkedIn does the former. We embed a version in the service worker file itself. The page can ask the service worker for its version via postMessage, and the service worker will respond with a generic error if it receives a postMessage that it does not recognize.

-- 
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/1387#issuecomment-459764073

Received on Friday, 1 February 2019 15:40:34 UTC