Make the code responsible to pass and update watched resources reusage in the server codebase
Categories
(DevTools :: Framework, enhancement)
Tracking
(firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
(Whiteboard: dt-fission-m2-mvp)
Attachments
(3 files)
In order to implement bug 1573327 and server side support of breakpoints via the Watcher actor, it would be handy to:
Make the Watcher's actor code, related to currently watched resource reusable.
So that we can pass arbitrary data cross processes and threads, such as:
- watched resource types
- breakpoints
- persist on/off
- dom, xhr, ... breakpoints
- blocked URLs
- ...
We need to pass this data the exact same way we do for watched resource types.
Because we have to have this data as early as possible, when the process or thread just start. And so we have to rely on shared data object and passing updates via JS Window Actor API and/or worker Debugger API's messages.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
The idea here is to reuse this to communicate the breakpoints (and many other things).
Updated•4 years ago
|
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9361cab66b14 Convert WatcherRegistry Set to Arrays. r=nchevobbe https://hg.mozilla.org/integration/autoland/rev/d5cb09c76843 Share code in WatcherRegistry between targets and resouces. r=nchevobbe https://hg.mozilla.org/integration/autoland/rev/d925587c6445 Make synchronization code related to resourceTypes reusable. r=nchevobbe
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9361cab66b14
https://hg.mozilla.org/mozilla-central/rev/d5cb09c76843
https://hg.mozilla.org/mozilla-central/rev/d925587c6445
Description
•