Closed
Bug 1651319
Opened 5 years ago
Closed 5 years ago
Cleanup devtools calls to JSWindowActor sendAsyncMessage
Categories
(DevTools :: General, task, P3)
DevTools
General
Tracking
(firefox80 fixed)
RESOLVED
FIXED
Firefox 80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
Details
Attachments
(1 file)
We have two calls to JSWindowActor::sendAsyncMessage where we return this.sendAsyncMessage(...)
. However sendAsyncMessage doesn't return anything so this can be misleading as it feels like we might get a promise we can wait on (and we actually do that for one of them).
- https://searchfox.org/mozilla-central/rev/7ec7ee4a9bde171ba195ab46ed6077e4baaef34d/devtools/server/connectors/js-window-actor/DevToolsFrameParent.jsm#91
- https://searchfox.org/mozilla-central/rev/7ec7ee4a9bde171ba195ab46ed6077e4baaef34d/devtools/server/connectors/js-window-actor/DevToolsFrameParent.jsm#72
Plus the callsite where we wait on promises which don't exist:
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e90f3e158568
Cleanup devtools calls to JSWindowActor sendAsyncMessage r=ochameau
![]() |
||
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
You need to log in
before you can comment on or make changes to this bug.
Description
•