Stop using ProcessDescriptor.getTarget / process target from about:debugging
Categories
(DevTools :: about:debugging, enhancement)
Tracking
(firefox83 fixed)
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(3 files)
While looking into bug 1620248, I was wondering if we were still trying to instantiate process targets outside of the legacy listeners.
We do, at least from about:debugging, over here:
https://searchfox.org/mozilla-central/source/devtools/client/aboutdebugging/src/actions/debug-targets.js#263
but this isn't really justified. We probably tweaked this code a couple of time when migration to descriptors.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
We can let about:devtools-toolbox instantiate it, as we do for most other target types.
Comment 3•4 years ago
|
||
Depends on D92499
Tweak an existing mock in the main process about:debugging test to check that we are not creating any target.
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7952069faaaf
https://hg.mozilla.org/mozilla-central/rev/3281394da09e
https://hg.mozilla.org/mozilla-central/rev/ff1750ffbc4d
Description
•