Open Bug 1581961 Opened 5 years ago Updated 2 years ago

Remove Promise::MaybeReject(nsresult)

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

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.

Type: defect → task
Depends on: 1594304
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.