Closed
Bug 1713505
Opened 3 years ago
Closed 3 years ago
Propagate exception to promise rejection in test utils
Categories
(Core :: Panning and Zooming, task)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
91 Branch
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(1 file)
Looking at something unrelated I noticed that exceptions from some of the apz utils aren't getting propagated to the promise reject() calls. This results in the promise throwing undefined
instead, because JS is great like that.
Assignee | ||
Comment 1•3 years ago
|
||
Without this, the reject calls end up throwing "undefined"
to callers which is not particularly useful.
Pushed by kgupta@mozilla.staktrace.com:
https://hg.mozilla.org/integration/autoland/rev/7d70da5a9692
Propagate exceptions in test utils. r=hiro
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox91:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•