Closed Bug 1662126 Opened 4 years ago Closed 4 years ago

Make the code responsible to pass and update watched resources reusage in the server codebase

Categories

(DevTools :: Framework, enhancement)

enhancement

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
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: nobody → poirot.alex
Status: NEW → ASSIGNED

The idea here is to reuse this to communicate the breakpoints (and many other things).

Whiteboard: dt-fission-m2-mvp
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
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Blocks: 1667839
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: