Open Bug 1450150 Opened 2 years ago Updated 2 months ago
[meta] Convert protocol clients to fronts using protocol
Various protocol clients from before the time of protocol.js should be converted into fronts so that we can have a single technology and lifetime model for RDP communication. These include: * devtools/shared/client/*-client.js * tools relying on free-form RDP events, such as the console : https://searchfox.org/mozilla-central/source/devtools/shared/client/constants.js#22
On thing I learned while working on bug 1485660, TabClient: First look for all usages of callback style arguments used for your client's requests. protocol.js returns promises for each request method. It doesn't support passing a callback as last argument, whereas old fashion client were often supporting both styles... See bug 1494305 for example of such convertion from callback to promises.
Once all clients are converted we should empty that list of unsollicited messages: https://searchfox.org/mozilla-central/source/devtools/shared/client/constants.js#22-53 It may be hard to reduce it while working on TabClient and RootClient as some message names list workerListChanged are used by both actors...
Fission Milestone: --- → M6
You need to log in before you can comment on or make changes to this bug.