Netmonitor stops working after unloading the tab
Categories
(DevTools :: General, defect, P2)
Tracking
(Not tracked)
People
(Reporter: emk, Unassigned, NeedInfo)
References
Details
What were you doing?
- Open any http(s) URL in a new tab.
- Open Netmonitor.
- Detach the DevTools window. (Otherwise DevTools will close after step 4.)
- Unload the tab.
- Reload the unloaded tab.
What happened?
Netmonitor does not show network activities.
What should have happened?
Netmonitor should show network activities.
Anything else we should know?
Comment 1•9 months ago
|
||
Thanks for reporting! I see the issue.
Also subsequent reloads after that do not show anything. I think once a tab is unloaded the devtools
connection is broken. Maybe we should either close the detached devtools panel or try to connect again on reload.
Comment 2•9 months ago
|
||
Probably impact devtools as a whole.
Comment 3•9 months ago
|
||
Bug 2008708 fixed RDM around tab unloading, which was about listening to TabBrowserDiscarded in addition to TabClose.
We destroy the TabDescriptor actor from here, which ultimately lead to toolbox closing.
We should be doing similar destruction, but also on TabBrowserDiscarded.
Comment 4•9 months ago
|
||
In triage I mentioned an similar issue with RDM, this was Bug 2008708, but it was about using discardBrowser, which is probably different from unloading tabs.
Description
•