On 5/28/2014 8:30 PM, David Rajchenbach-Teller wrote:
> uncaught promise rejections using Promise.jsm will cause
> TEST-UNEXPECTED-FAIL.

Fantastic! Promise.jsm rocks!

> We intend to progressively extend this policy to:
> - DOM Promise (bug 989960).

Excellent, this will be a step forward in resolving the dependencies of
bug 939636 that will allow us to use DOM Promise instead of Promise.jsm
throughout the codebase in the future.

For now I wanted to remind to use Promise.jsm instead of DOM Promise in
back-end code that is exercised by tests, because doing otherwise will
make it more difficult for us to implement the mentioned bug 989960,
since DOM Promise won't currently detect asynchronous errors.

Cheers,
Paolo
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to