Re: [ServiceWorker] getRegistration IDL is wrong (#764)

I thought that way too, but the IDL definition for void seems only be allowed to be used for return type (i.e. not for promise resolution value): https://heycam.github.io/webidl/#es-void.

> The only place that the void type may appear in IDL is as the return type of an operation.


---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/764#issuecomment-152686411

Received on Saturday, 31 October 2015 02:02:42 UTC