Use protocol pools to manage fronts on target fronts
Categories
(DevTools :: Framework, enhancement, P3)
Tracking
(Fission Milestone:Future)
Fission Milestone | Future |
People
(Reporter: yulia, Unassigned)
References
(Blocks 3 open bugs, )
Details
(Whiteboard: dt-fission-future)
We are currently managing and destroying fronts manually: https://searchfox.org/mozilla-central/source/devtools/shared/fronts/targets/target-mixin.js#475-478
We should clean this up so that we can rely on protocol.js to do this for us. Then we can remove our custom front destruction, and rely on the destroy code path from debugger-client
https://searchfox.org/mozilla-central/source/devtools/shared/client/debugger-client.js#916-918
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
We are manually registering fronts into a custom Set over here:
https://searchfox.org/mozilla-central/rev/d061ba55ac76f41129618d638f4ef674303ec103/devtools/shared/fronts/targets/target-mixin.js#200-213
Instead of doing this.manage(front)
.
Later on, we are destroying fronts manually from here:
https://searchfox.org/mozilla-central/rev/d061ba55ac76f41129618d638f4ef674303ec103/devtools/shared/fronts/targets/target-mixin.js#438-445
Whereas we could depend on Pool and protocol.js to automatically destroy all children fronts when the TargetFront is destroyed from here:
https://searchfox.org/mozilla-central/rev/d061ba55ac76f41129618d638f4ef674303ec103/devtools/shared/fronts/targets/target-mixin.js#474-475
But this might be better time spent working on bug 1529741, which would drastically change the implementation of getFront
and allow to do a massive cleanup on the server side!
Comment 2•5 years ago
|
||
Tracking Fission DevTools bugs for Fission Nightly (M6)
Updated•5 years ago
|
Comment 3•4 years ago
|
||
dt-fission-reserve bugs do not need to block Fission Nightly (M6).
Comment 4•4 years ago
|
||
Tracking dt-fission-reserve bugs for Fission MVP until we know whether they really need to block Fission or not.
Comment 5•4 years ago
|
||
Moving old "dt-fission-reserve" bugs to "dt-fission-future" because they don't block Fission MVP.
Updated•2 years ago
|
Description
•