Remove unused sendPacket/sendPacketToThread helpers
Categories
(DevTools :: Debugger, task, P3)
Tracking
(firefox86 fixed)
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Those helpers rely on debugger-client::request, but are not used anywhere. Can be removed.
Assignee | ||
Comment 1•5 years ago
|
||
devtools/client/debugger/src/client/firefox/commands.js defines and exports sendPacket
.
This sendPacket is only used by devtools/client/debugger/src/utils/dbg.js
devtools/client/debugger/src/utils/dbg.js uses commands.js::sendPacket in its own sendPacket
.
dbg.js::sendPacket is used in dbg.js::sendPacketToThread which is unused.
dbg.js::sendPacket is also exported via the "dbg.helpers" object which is set on the window and then potentially used by createDebuggerContext
, which looks like a helper for non-debugger tests which need to interact with the debugger.
Probably more cleanup can be done around this helpers
object, a lot of things seem unused and outdated.
Assignee | ||
Comment 2•5 years ago
|
||
Comment 4•5 years ago
|
||
bugherder |
Description
•