Open Bug 1478683 Opened 6 years ago Updated 2 years ago

Pass the NetworkMonitorActor to the frontend

Categories

(DevTools :: Netmonitor, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Bug 1444132 introduces a NetworkMonitorActor but the actor isn't sent to the client. This actor instanciates the NetworkEventActor that are sent to the client, but NetworkMonitorActor fakes the WebConsoleActor's ID in order to be as if these NetworkEventActor were sent by the WebConsoleActor. In order to remove this workaround, we should send the NetworkMonitorActor to the client and have the client listen for NetworkEventActor on it. It means that we should stop relying on WebConsoleActor.startListeners for the network monitor. We could introduce a new, dedicated request on browsing-context or console actor, but it looks like the resource actor would be a good fit for fetching the netmonitor actors.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.