Open
Bug 1581961
Opened 5 years ago
Updated 2 years ago
Remove Promise::MaybeReject(nsresult)
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
Callers should use MaybeRejectWithDOMException if they want to do that, else reject with one of the JS errors (TypeError/RangeError). All of these allow passing in useful messages to the error, which MaybeReject(nsresult)
does not.
Reporter | ||
Updated•5 years ago
|
Type: defect → task
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•