W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2014

RE: Push API - use parameterized Promise types

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Thu, 20 Mar 2014 15:39:24 +0000
To: Michael van Ouwerkerk <mvanouwerkerk@google.com>
CC: public-webapps <public-webapps@w3.org>
Message-ID: <dedab2d71eef4cfa852f81b44f548bfd@BN1PR05MB325.namprd05.prod.outlook.com>
From: Michael van Ouwerkerk <mvanouwerkerk@google.com>

> Ah I didn't know it has no effect on return values. Why not?

Well, I believe it's the same with all WebIDL method return values. If you return something that doesn't match the declared return value, that's a spec bug, but it has no impact on anything. (This is unlike argument values, where if the user passes in something that doesn't match the declared parameter type then conversion is performed.)
Received on Thursday, 20 March 2014 15:39:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:22 UTC