Closed
Bug 1121818
Opened 10 years ago
Closed 10 years ago
Reject promise with instance of 'Error'.
Categories
(Firefox OS Graveyard :: NFC, defect)
Tracking
(firefox36 wontfix, firefox37 wontfix, firefox38 fixed, b2g-v2.2 fixed, b2g-master fixed)
RESOLVED
FIXED
2.2 S4 (23jan)
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
Details
(Whiteboard: [p=1])
Attachments
(1 file)
|
1.11 KB,
patch
|
dimi
:
review+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
From MDN, it's better to reject Promise with instance of Error
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/reject
Right now we reject with String.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8549359 -
Flags: review?(dlee)
Updated•10 years ago
|
Attachment #8549359 -
Flags: review?(dlee) → review+
| Assignee | ||
Comment 2•10 years ago
|
||
Whiteboard: [p=1]
Target Milestone: --- → 2.2 S4 (23jan)
| Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8549359 [details] [diff] [review]
Patch.
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
Bug 996397
User impact if declined:
Type returned in Promise.Reject() will be inconsistent.
Testing completed:
Manually.
Risk to taking this patch (and alternatives if risky):
No.
String or UUID changes made by this patch:
No.
Attachment #8549359 -
Flags: approval-mozilla-b2g37?
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Attachment #8549359 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Comment 5•10 years ago
|
||
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → fixed
status-firefox36:
--- → wontfix
status-firefox37:
--- → wontfix
status-firefox38:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•