Re: [w3c/ServiceWorker] Proposal: pass custom params in ServiceWorkerRegistration for future use (#1157)

@jakearchibald why not simply allow pass custom params (whatever) like `scope` to ServiceWorker trough `navigator.serviceWorker.register` as mentioned in top comment? Is it about security?

Imagine Array with `urlsToCache` is generated with JavaScript before navigator.serviceWorker.register ...
today there are no way to get it work without impact on performance, like storing in IndexedDB or place in sw.js?query-url-with-all-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-306449651

Received on Tuesday, 6 June 2017 10:47:23 UTC