[Bug 26517] Methods that return promises are unable to throw exceptions

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26517

--- Comment #20 from Olli Pettay <bugs@pettay.fi> ---
This inconsistency in rather horrible. 

var promise1 = object.foo(someParam);
// you should not do anything interesting here, since foo() call may even got
// wrong params. You're forced to wait for the promise to resolve/reject.

Error reporting really should happen early in certain cases, like in
param type validation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 7 October 2014 11:21:44 UTC