fune/devtools/shared/commands/resource/tests/network_navigation.js
Alexandre Poirot 329c56536c Bug 1439509 - [devtools] Clear network events when their related WindowGlobal is destroyed. r=bomsy,devtools-backward-compat-reviewers,jdescottes
The main challenge here is to still support persist-logs feature of the netmonitor.
When this feature is enabled we have to keep around all the Network Events as before this patch.

Fission refactoring and the migration to server side NETWORK_EVENT watchers made
this fix significantly easier as we can now more easily reach out the parent process
code which is keeping things allocated.

Differential Revision: https://phabricator.services.mozilla.com/D124318
2021-09-07 17:51:52 +00:00

1 line
59 B
JavaScript

// empty script loaded by network_document_navigation.html