- From: Perry Jiang <notifications@github.com>
- Date: Tue, 07 Jan 2020 20:52:15 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 8 January 2020 04:52:17 UTC
Specifically around step 4 of the [Update](https://w3c.github.io/ServiceWorker/#update-algorithm) algorithm - for update jobs, there must have been a newest worker for the ServiceWorkerRegistration.update call to reach this step, and if Update doesn't see a worker returned by Get Newest Worker, there must be an (actually) newest worker that's in an "evaluating" state (an unregister + register could make this happen). So, to be consistent with the idea of only proceeding with Update if the job's script URL is current "newest script URL", perhaps step 4 could be modified to: "If job’s job type is update, and newestWorker is null or its script url does not equal job’s script url, then:"... -- 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/1495
Received on Wednesday, 8 January 2020 04:52:17 UTC