Open Bug 1883849 Opened 7 months ago Updated 6 months ago

Remove support for content process debugging via the Process descriptor

Categories

(DevTools :: Framework, task)

task

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

Details

Attachments

(1 file)

Bug 1651518 will drop the last usages of ProcessDescriptor.getTarget being used for a content process.
The legacy worker listeners were the last production usage of this in DevTools frontend.
This old API allowed to spawn a top level target for once specific content process (and only that one target).
Now, you should rather use the Watcher Actor and its watchTargets("process) API to retrieve such target.

I'd like to remove this server API as it was most likely only used by DevTools.
It sounds unlikely any external application using RDP would be using this as it relates to Firefox debugging and not so much about web page debugging.

This API depends on the deprecated process script API and has nested useless dependencies (connector, process script, dedicated esm,...).

All content processes are now debugged via the WatcherActor and its watchTargets method.
browser_document_devtools_basics.js and browser_document_rdp_basics.js tests are demonstrating how to use this actor.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: