Closed Bug 1764349 Opened 2 years ago Closed 2 years ago

Properly clear data collected by the Network panel

Categories

(DevTools :: Framework, defect)

defect
Not set
normal

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: Honza, Assigned: bomsy)

References

(Blocks 3 open bugs)

Details

Attachments

(1 file, 2 obsolete files)

In order to improve memory footprint and (perhaps) also fix memory leaks we should make sure that the Network panel properly clears all collected data. Keep in mind Browser Toolbox scenario as well we Web Toolbox scenario.

Honza

To add more highlights to what needs to be done here:-

  1. A configurable limit to the no of network resources kept, that should be enforced by the front end and server, needs to be added.
  2. Enable the clearing of network resources on the server when we clear on the frontend.

The solution should be implemented at the framework level (resource commands and watcher) which allows the functionality to be applied to other resources in the future.

This bug is going. to focus on implementing and enabling for just network resources specifically.

Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Attachment #9279444 - Attachment description: Bug 1764349 - [devtools] Add framework capabilities to clear resources → Bug 1764349 - [devtools] Add framework capabilities to clear resources r=ochameau
Attachment #9280335 - Attachment description: Bug 1764349 - [devtools] Add clear functionality for network resources → Bug 1764349 - [devtools] Add clear functionality for network resources r=ochameau
Blocks: 1774573
Depends on: 1775084

Comment on attachment 9279444 [details]
Bug 1764349 - [devtools] Add framework capabilities to clear resources r=ochameau

Revision D148139 was moved to bug 1775084. Setting attachment 9279444 [details] to obsolete.

Attachment #9279444 - Attachment is obsolete: true

Comment on attachment 9281821 [details]
Bug 1764349 - [devtools] Support clearing of root-resources r=ochameau

Revision D149635 was moved to bug 1775084. Setting attachment 9281821 [details] to obsolete.

Attachment #9281821 - Attachment is obsolete: true
Blocks: 1776900
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47dea14575f1
[devtools] Add clear functionality for network resources r=ochameau
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5dfcc06b697b
[devtools] Add clear functionality for network resources r=ochameau
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Flags: needinfo?(hmanilla)
See Also: → 1767792
See Also: → 1777457
See Also: → 1780612
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: