Closed
Bug 875289
Opened 12 years ago
Closed 11 years ago
Remove .done() and allow undefined to be passed to .then() and .catch()
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: baku, Assigned: baku)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 6 obsolete files)
15.94 KB,
patch
|
Details | Diff | Splinter Review |
Basically the specs uses [TreatUndefinedAs=Missing] for any callback in then(), catch(), done().
Assignee | ||
Updated•11 years ago
|
Summary: Update Future.webIDL to the new specs → Update Promise.webIDL to the new specs
Assignee | ||
Comment 2•11 years ago
|
||
Current the spec says: 1. done() is removed 2. then() and catch() use [TreatUndefinedAs=Missing]
Attachment #761015 -
Flags: review?(mounir)
Comment 3•11 years ago
|
||
Comment on attachment 761015 [details] [diff] [review] Remove Done() and update then() and catch() Please fix the indentation in Promise::Then?
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #760977 -
Attachment is obsolete: true
Attachment #760977 -
Flags: review?(mounir)
Attachment #761054 -
Flags: review?(mounir)
Assignee | ||
Updated•11 years ago
|
Summary: Update Promise.webIDL to the new specs → Update done/then/catch in Promise.webIDL to the new specs
Assignee | ||
Updated•11 years ago
|
Summary: Update done/then/catch in Promise.webIDL to the new specs → Update done/then/catch/fulfill in Promise.webIDL to the new specs
Blocks: web-crypto
Assignee | ||
Comment 6•11 years ago
|
||
revolveCb -> fulfillCb
Attachment #761078 -
Attachment is obsolete: true
Attachment #761078 -
Flags: review?(mounir)
Attachment #763421 -
Flags: review?(mounir)
Assignee | ||
Updated•11 years ago
|
Attachment #763421 -
Attachment description: patch → part 3 - fulfill()
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 761054 [details] [diff] [review] part 1 - renaming Make as obsolate because this patch is moved to bug 884279.
Attachment #761054 -
Attachment is obsolete: true
Attachment #761054 -
Flags: review?(mounir)
Assignee | ||
Updated•11 years ago
|
Attachment #761015 -
Attachment description: part 2 - Remove Done() and update then() and catch() → part 1 - Remove Done() and update then() and catch()
Assignee | ||
Updated•11 years ago
|
Attachment #763421 -
Attachment description: part 3 - fulfill() → part 2 - fulfill()
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 763421 [details] [diff] [review] part 2 - fulfill() Moved to bug 884754
Attachment #763421 -
Attachment is obsolete: true
Attachment #763421 -
Flags: review?(mounir)
Assignee | ||
Updated•11 years ago
|
Attachment #761015 -
Attachment description: part 1 - Remove Done() and update then() and catch() → Remove Done() and update then() and catch()
Updated•11 years ago
|
Summary: Update done/then/catch/fulfill in Promise.webIDL to the new specs → Remove .done() and allow undefined to be passed to .then() and .catch()
Comment 9•11 years ago
|
||
Comment on attachment 761015 [details] [diff] [review] Remove Done() and update then() and catch() Review of attachment 761015 [details] [diff] [review]: ----------------------------------------------------------------- Andrea, could you update the commit summary so it means something? Updating to specs isn't very informative because you could have dozens of commit like that. Asking bz to sr because this is a web facing change.
Attachment #761015 -
Flags: superreview?(bzbarsky)
Attachment #761015 -
Flags: review?(mounir)
Attachment #761015 -
Flags: review+
Assignee | ||
Comment 10•11 years ago
|
||
Commit message updated.
Attachment #761015 -
Attachment is obsolete: true
Attachment #761015 -
Flags: superreview?(bzbarsky)
Attachment #764731 -
Flags: superreview?(bzbarsky)
Comment 11•11 years ago
|
||
Comment on attachment 764731 [details] [diff] [review] Remove Done() and update then() and catch() sr=me, but I think the removal of done() is a mistake. I said so on the mailing list, and was ignored....
Attachment #764731 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 12•11 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #11) > Comment on attachment 764731 [details] [diff] [review] > Remove Done() and update then() and catch() > > sr=me, but I think the removal of done() is a mistake. I said so on the > mailing list, and was ignored.... I've been an early fighter to get it in the spec and spent lengthy discussions on it too :-( Many other people have expressed their disappointment about that [1]. I guess it's a matter of a big enough group to be convinced of the necessity. MarkM said it best: "DOMPromises only needs be approximately the minimum we need quick agreement on, so that we can add the rest of what's needed in the ES7 process." [2] I really wished .done would have been part of the first cut, but meh... it'll come back, I'm sure. [1] https://mail.mozilla.org/pipermail/es-discuss/2013-June/031396.html [2] https://mail.mozilla.org/pipermail/es-discuss/2013-June/031426.html
Comment 14•11 years ago
|
||
Backed out because this depends on bug 884279 which I also backed out: https://hg.mozilla.org/integration/mozilla-inbound/rev/2e39187b8199
Assignee | ||
Comment 15•11 years ago
|
||
rebased on top of m-c and m-i
Attachment #764731 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 16•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/80732a2b8422
Keywords: checkin-needed
Comment 17•11 years ago
|
||
Backed out for mochitest-chrome failures: https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=80732a2b8422 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/2266ccdba6d7 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/bf5031737e46
Assignee | ||
Comment 19•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b5ebb29f3ae2
Comment 21•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b5ebb29f3ae2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•