Closed Bug 1497292 Opened 3 years ago Closed 3 years ago

Refactor all RootClient usages to use promise API instead of callback style

Categories

(DevTools :: Framework, enhancement)

enhancement
Not set
normal

Tracking

(firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

(Whiteboard: dt-fission)

Attachments

(1 file)

In order to convert RootClient to a Front, we have to stop using callback style for its requests as protocol.js front only supports returning promises and doesn't support callback arguments.

We still use callback style for a couple of old requests like protocolDescription, listProcesses, ...
MozReview-Commit-ID: B1Z3tCjCHU3
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22aa7c97d46d
Switch RootClient calls from callbacks to promises. r=yulia
https://hg.mozilla.org/mozilla-central/rev/22aa7c97d46d
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Whiteboard: dt-fission
You need to log in before you can comment on or make changes to this bug.