[w3c/ServiceWorker] A simple globally available store of data per-registration (#1331)

Something we've long punted has been the question of how to deal with volatile but infrequently changing data that is globally useful on a per-registration basis; e.g. a "kill switch deadline" for a SW version.

Thoughts about a `.data` property on registrations similar to the one we provide for [`notificationclick`](https://notifications.spec.whatwg.org/#dom-notification-data)? I could imagine getters/setters at both registration time and later in the lifecycle, allowing services to move a lot of this sort of information out of globals.

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

Received on Thursday, 28 June 2018 21:18:54 UTC