e943623b12
Based on prototype at https://github.com/rossberg-chromium/js-promise which informed the latest spec draft version at https://github.com/domenic/promises-unwrapping/blob/master/README.md Activated by --harmony-promises. Feature complete with respect to the draft spec, plus the addition of .when and .deferred methods. Final naming and other possible deviations from the current draft will hopefully be resolved soon after the next TC39 meeting. This CL also generalises the Object.observe delivery loop into a simplistic microtask loop. Currently, all observer events are delivered before invoking any promise handler in a single fixpoint iteration. It's not clear yet what the final semantics is supposed to be (should there be a global event ordering?), but it will probably require a more thorough event loop abstraction inside V8 once we get there. R=dslomov@chromium.org, yhirano@chromium.org BUG= Review URL: https://codereview.chromium.org/64223010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18113 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 |
||
---|---|---|
.. | ||
array-find.js | ||
array-findindex.js | ||
array-iterator.js | ||
block-conflicts.js | ||
block-const-assign.js | ||
block-early-errors.js | ||
block-for.js | ||
block-lazy-compile.js | ||
block-leave.js | ||
block-let-crankshaft.js | ||
block-let-declaration.js | ||
block-let-semantics.js | ||
block-scoping.js | ||
collections.js | ||
dataview-accessors.js | ||
debug-blockscopes.js | ||
debug-evaluate-blockscopes.js | ||
debug-function-scopes.js | ||
generators-iteration.js | ||
generators-objects.js | ||
generators-parsing.js | ||
generators-runtime.js | ||
iteration-semantics.js | ||
iteration-syntax.js | ||
math-sign.js | ||
math-trunc.js | ||
module-linking.js | ||
module-parsing.js | ||
module-recompile.js | ||
module-resolution.js | ||
numeric-literals-off.js | ||
numeric-literals.js | ||
object-observe.js | ||
private.js | ||
promises.js | ||
proxies-example-membrane.js | ||
proxies-for.js | ||
proxies-function.js | ||
proxies-hash.js | ||
proxies-json.js | ||
proxies-symbols.js | ||
proxies-with.js | ||
proxies.js | ||
string-contains.js | ||
string-endswith.js | ||
string-repeat.js | ||
string-startswith.js | ||
symbols.js | ||
typedarrays.js | ||
typeof.js |