Implement a "Root" Resource API to observe context-less data
Categories
(DevTools :: Framework, enhancement)
Tracking
(firefox100 fixed)
| Tracking | Status | |
|---|---|---|
| firefox100 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
For now the ResourceCommand can only work against a given Descriptor/Watcher.
This requires:
- focusing on one particular context (tab, addon, worker, ...)
- spawning lots of things (descriptor, watcher actors and all deps of the watcher actor)
Whereas about:debugging observe all the available descriptors and want to observe events that aren't specific to any particular context. And want to do that without regressing performance.
So that it would be helpful to have an API similar to ResourceCommand which can be instantiated out of a DevToolsClient/RootFront and nothing else.
It requires getting away from commands as commands expect a descriptor as constructor argument.
| Assignee | ||
Comment 1•3 years ago
|
||
This is equivalent to the ResourceCommand, but isn't related to any context/descriptor.
This helps listen to things right away when connecting to a RDP server.
That, without having to instantiate any descriptor/watcher actor.
It works right away via the root actor which is instantiated by default.
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•