RE: Push API - use parameterized Promise types

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