Closed Bug 1651319 Opened 5 years ago Closed 5 years ago

Cleanup devtools calls to JSWindowActor sendAsyncMessage

Categories

(DevTools :: General, task, P3)

task

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).

Plus the callsite where we wait on promises which don't exist:

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e90f3e158568 Cleanup devtools calls to JSWindowActor sendAsyncMessage r=ochameau
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: