« Bugzilla Issues Index
#2683 — 7.5.4-7.5.6 Need to define PromiseAll, PromiseCatch, PromiseThen
- bug_id:
2683
- creation_ts:
2014-04-18 11:01:00 -0700
- short_desc:
7.5.4-7.5.6 Need to define PromiseAll, PromiseCatch, PromiseThen
- delta_ts:
2014-10-14 15:17:49 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 23: April 5, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
major
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- cc:
["jorendorff", "oliver"]
- commentid:
7814
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-18 11:01:57 -0700
- commentid:
8586
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-05-22 12:16:05 -0700
*** Bug 2879 has been marked as a duplicate of this bug. ***
- commentid:
9735
- comment_count:
2
- who:
Jason Orendorff
- bug_when:
2014-08-08 13:50:25 -0700
PromiseThen(p, f) is meant to be equivalent to Promise.prototype.then.call(p, f), using the original Promise.prototype.then. It is only used where p is statically known to be a Promise and f a Function.
Similarly PromiseCatch(p, f) is like Promise.prototype.catch.call(p, f).
PromiseAll(promiseList) is like Promise.all(CreateArrayFromList(promiseList)).
(As a minor point, I think it would be nice to implement Promise.all in terms of PromiseAll rather than the other way around.)
- commentid:
10154
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2014-09-04 14:51:25 -0700
fixed in rev28 editor's draft
- commentid:
10415
- comment_count:
4
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 15:17:49 -0700
fixed in rev28