- From: Philip Walton <notifications@github.com>
- Date: Mon, 16 Sep 2019 00:22:00 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 16 September 2019 07:22:22 UTC
The [current WebIDL for the `ServiceWorkerRegistration`](https://w3c.github.io/ServiceWorker/#serviceworkerregistration-interface) is incorrect; it shows `update()` returning `Promise<void>`. <img width="857" alt="Screen Shot 2019-09-16 at 4 18 56 PM" src="https://user-images.githubusercontent.com/326742/64940018-d9f9c280-d89d-11e9-98d7-37703a8a5b79.png"> I believe this is a mistake since implementations all return the registration object, and the [`update()` algorithm](https://w3c.github.io/ServiceWorker/#dom-serviceworkerregistration-update) says to return the registration as well. -- 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/1472
Received on Monday, 16 September 2019 07:22:22 UTC