[webkit-dev] Proposal: Add support for Promises

Sam Weinig weinig at apple.com
Fri Aug 23 11:32:52 PDT 2013


Hey WebKittens,

I’d like to add support for Promises.  Promises are currently specified in the DOM Living Standard (http://dom.spec.whatwg.org/#promises) but will probably be moved to an ECMAScript standard at some point in the future.  As such, I plan to implement them in JavaScriptCore.

The main motivation for adding Promises is that many upcoming specs have them as a dependency, including WebCrypto (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html), the updated FileSystem API (http://lists.w3.org/Archives/Public/public-webapps/2013JulSep/0071.html) and others.

Thoughts?

-Sam


More information about the webkit-dev mailing list