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

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

Olli Pettay <bugs@pettay.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs@pettay.fi

--- Comment #5 from Olli Pettay <bugs@pettay.fi> ---
The platform effectively has this behavior in non-Promise cases, like
XHR.send().
Success is reported via load event, some errors via error via and in some
cases the method throws.

And, throwing early when the state of the object is wrong sounds right to me.
Requiring to use reject for that is overkill.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 5 August 2014 09:06:32 UTC