- From: Binyamin Laukstein <notifications@github.com>
- Date: Mon, 05 Jun 2017 12:30:35 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 5 June 2017 19:31:07 UTC
@asutherland I want to pass whatever params to sw.js without adding params in URL. Imagine like HTML having multiple JS files with global variables - each of the files can after read those global variables, while in sw.js it is not allowed, even will not access localStorage ... I want be able to define whatever params in `navigator.serviceWorker.register` that after would be used in **sw.js**. In top comment you can see few usable cases for it (version, environment, urlsToCache). -- 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/1157#issuecomment-306279779
Received on Monday, 5 June 2017 19:31:07 UTC