- From: Andrew Sutherland <notifications@github.com>
- Date: Thu, 31 Jan 2019 06:59:30 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 31 January 2019 14:59:52 UTC
It sounds like this ends up being a variation of https://github.com/w3c/ServiceWorker/issues/1331. In particular, if a string length limit/grammar isn't imposed on scriptVersion, it seems likely it would end up being used for arbitrary JSON storage, etc. As I understand your link's suggested best practices, the idea is that by changing the underlying script the automatic update checks will upgrade your script for you when the byte-comparison check indicates the script/its dependencies have changed. It doesn't seem like your proposal addresses how the scriptVersion would be updated in this case where the triggering event was not a call to `register`. -- 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-459375310
Received on Thursday, 31 January 2019 14:59:52 UTC