I have just filed bugs to make sure our DOM Promise implementation is on par with Promise.jsm in these areas: - Make state, value and reason inspectable in the debugger (bug 966471) - Report all unhandled rejections to the Console on GC (bug 966452) - Make handlers inspectable in the debugger (bug 966472) - Dump "coding" exceptions thrown by handlers (bug 966462)
I think the first two are the most important. When these are ready, migration of Promise.jsm consumers to DOM Promises will be pretty easy, since both are based on the original Promises/A+ specification, and when bug 941757 about "new Promise()" is fixed the Promise.jsm API will match the one of DOM Promises. Cheers, Paolo _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform