Closed
Bug 1659082
Opened 4 years ago
Closed 4 years ago
Move the functions to request network data out of the webconsole front
Categories
(DevTools :: Netmonitor, task, P3)
DevTools
Netmonitor
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1519082
People
(Reporter: bomsy, Unassigned)
References
(Blocks 2 open bugs)
Details
We aren't really using protocol.js. Not on the server, nor here on the client:
- https://searchfox.org/mozilla-central/rev/358cef5d1a87172f23b15e1a705d6f278db4cdad/devtools/client/netmonitor/src/connector/firefox-data-provider.js#608-632
- https://searchfox.org/mozilla-central/rev/358cef5d1a87172f23b15e1a705d6f278db4cdad/devtools/client/fronts/webconsole.js#225-241
By using DebuggerClient.request in the WebConsoleFront, we aren't using Protocol.js and specifications.
Instead we manually send a RDP packet. It would be nice to:
- move these functions out of the webconsole front as it isn't really related to webconsole actor... nor before, nor after all these refactorings.
- see if we can use protocol.js? It would mean instantiating fronts manually from a transformer, like what we do for console or storage.
Reporter | ||
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
Reporter | ||
Updated•4 years ago
|
Blocks: dt-polish-debt, network-panel-infra
Reporter | ||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•