commit | 2ec237cea2f63f07659729f2c84a004900b87fb6 | [log] [tgz] |
---|---|---|
author | Simon Zünd <[email protected]> | Thu Jul 17 05:30:52 2025 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 17 08:21:56 2025 |
tree | 320220c72139c2c88a75f3df5eaca30654496e12 | |
parent | 4f035ae08081a9e198fbe79af824c5d08376fa72 [diff] |
[network] Allow NetworkRequetNodes to be gc'ed when the log is cleared The network panel currently associates each NetworkRequest with it's UI data grid node via a WeakMap. But since the ResourceTreeModel never frees up NetworkRequests, we keep every <tr> of the Network panel alive indefinitely. This CL fixes at least the DOM element leak: When the view is reset, we also reset the WeakMap. While we keep the NetworkRequests around for now, at least we no longer keep detached DOM nodes around indefinitely. Drive-by: Make the module global a class member. [email protected] Bug: 390559089 Change-Id: I014ec2c56bab20f6c48c85cb205476860ea5c829 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6759714 Auto-Submit: Simon Zünd <[email protected]> Reviewed-by: Philip Pfaffe <[email protected]> Commit-Queue: Simon Zünd <[email protected]>
The client-side of the Chrome DevTools, including all TypeScript & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com. Check out the Chromium DevTools documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466
) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
There are a few options to keep an eye on the latest and greatest of DevTools development:
Follow What's new in DevTools.
Follow Umar's Dev Tips.
Follow these individual Twitter accounts: @umaar, @malyw, @kdzwinel, @addyosmani, @paul_irish, @samccone, @mathias, @mattzeunert, @PrashantPalikhe, @ziyunfei, and @bmeurer.
Follow to g/[email protected] mailing list for all reviews of pending code, and view the log, or follow @DevToolsCommits on Twitter.
Checkout all open DevTools tickets on crbug.com
Use Chrome Canary and poke around the experiments.