- From: Arthur Sonzogni <notifications@github.com>
- Date: Fri, 24 Sep 2021 01:27:22 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 24 September 2021 08:27:36 UTC
@ArthurSonzogni commented on this pull request. > 1. If |response|'s [=response/cache state=] is not "`local`", set |registration|'s [=last update check time=] to the current time. 1. Set |hasUpdatedResources| to true if any of the following are true: * |newestWorker| is null. * |newestWorker|'s [=service worker/script url=] is not |url| or |newestWorker|'s [=service worker/type=] is not |job|'s [=worker type=]. * |newestWorker|'s [=script resource map=][|url|]'s [=response/body=] is not byte-for-byte identical with |response|'s [=response/body=]. + * |newestWorker|'s [=service worker/embedder policy=] does not equal to |embedderPolicy|. (Not a SW specialist) I guess this govern whether or a not the new script should be used to replace the old SW at some point. As a developer, I think this is desirable to make it happen when any of those 4 COEP attributes are changed. Do you foresee any strong drawback to this? -- 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/pull/1545#discussion_r715418106
Received on Friday, 24 September 2021 08:27:36 UTC