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

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

--- Comment #24 from Mark S. Miller <erights@gmail.com> ---
(In reply to Jonas Sicking from comment #22)
> I don't know of any APIs which have synchronous side-effects and which also
> return a promise. So you can't rely on anything having successfully happened
> on the line after the .foo() call anyway.

Just to clarify, I think that should be rephrased as "observably synchronous
side effects". For example, the enqueue and dequeue methods of
http://wiki.ecmascript.org/doku.php?id=strawman:concurrency#infinite_queue have
sync side effects, but not observably so.

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

Received on Tuesday, 7 October 2014 17:50:08 UTC