- From: Yutaka Hirano <notifications@github.com>
- Date: Thu, 23 Sep 2021 22:15:48 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 24 September 2021 05:16:00 UTC
@yutakahirano 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|. I don't have a strong opinion. I think it's reasonable to update the script if coep's value changes, but I'm not so sure about other properties (reporting value, endpoint, reporting endpoint). @ArthurSonzogni @nhiroki @jakearchibald do you have any opinions? -- 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_r715321706
Received on Friday, 24 September 2021 05:16:00 UTC