Closed Bug 1678241 Opened 4 years ago Closed 4 years ago

Remove callback parameter in sendHTTPRequest

Categories

(DevTools :: Netmonitor, task, P3)

task

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

The function is defined in devtools/client/netmonitor/src/connector/firefox-connector.js#390, and takes a callback as its second parameter.

Let's directly return a Promise.

The function now directly return a Promise instead.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5dedbb11701f
[devtools] Remove callback param in sendHTTPRequest. r=bomsy.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: