Re: [w3c/ServiceWorker] Update algorithm may want to abort in absence of a newest worker (#1495)

yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1495)

This might be implemented?
https://w3c.github.io/ServiceWorker/#update-algorithm

> If job’s [job type](https://w3c.github.io/ServiceWorker/#dfn-job-type) is update, and newestWorker is not null and its [script url](https://w3c.github.io/ServiceWorker/#dfn-script-url) does not [equal](https://url.spec.whatwg.org/#concept-url-equals) job’s [script url](https://w3c.github.io/ServiceWorker/#dfn-job-script-url), then:
> 1. Invoke [Reject Job Promise](https://w3c.github.io/ServiceWorker/#reject-job-promise) with job and TypeError.
> 2. Invoke [Finish Job](https://w3c.github.io/ServiceWorker/#finish-job) with job and abort these steps.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1495#issuecomment-5446760189
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1495/5446760189@github.com>

Received on Friday, 28 August 2026 00:17:04 UTC