Add a version of Promise::MaybeReject that takes an nsresult and a error message
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 2 open bugs)
Details
Attachments
(5 files)
Or maybe we should call it MaybeRejectWithDOMException to make it clear what's going on here?
All the callsites at https://searchfox.org/mozilla-central/search?q=MaybeReject%28NS_ERROR_DOM&path= are rather suspect and maybe in need of changing to the new setup.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
I can't quite tell from the logs this time what the issue is, but if it's the timeouts in encrypted-media/drm-mp4-playback-retrieve-destroy-persistent-license.https.html
and similar, those predate these changes, right?
Assignee | ||
Comment 10•5 years ago
|
||
An in particular, see bug 1313284.
Comment 11•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0861c66c0e4c
https://hg.mozilla.org/mozilla-central/rev/f3eb9ec9f7b9
https://hg.mozilla.org/mozilla-central/rev/48603e8781d8
https://hg.mozilla.org/mozilla-central/rev/7399098308aa
https://hg.mozilla.org/mozilla-central/rev/dd375f633fe7
Updated•5 years ago
|
Updated•5 years ago
|
Description
•