Re: [w3c/ServiceWorker] The return value for update() is wrong in WebIDL (#1472)

annevk left a comment (w3c/ServiceWorker#1472)

The specification (unfortunately) requires that the this object is returned through the path @yoshisatoyanagisawa explained above and (unfortunately) that is what all browsers implement. IDL used to assert that nothing is returned (browsers unfortunately don't assert such a thing which is why this wasn't discovered until now). So the IDL did have a bug.

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

Message ID: <w3c/ServiceWorker/issues/1472/2897302042@github.com>

Received on Wednesday, 21 May 2025 09:43:40 UTC