DescriptionPromises: some adaptations to spec
- Rename Promise.{resolved,rejected,deferred} to Promise.{resolve,reject,defer}
- Rename Promise.one to Promise.race
- Make all failures asynchronous, EXCEPT type errors for resolver
- Disallow non-construct call to Promise constructor
- Don't make combinators go through public this.defer
Also, don't bother using IsCallable.
R=dslomov@chromium.org, yhirano@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=18515
Patch Set 1 #
Total comments: 10
Patch Set 2 : Dmitry's comments #
Total comments: 6
Patch Set 3 : Rename 'one' #Patch Set 4 : Throw on non-function resolver #
Total comments: 7
Messages
Total messages: 13 (0 generated)
|