commit | f8c26e2f7648660f18ea1892b4203a0f0ebc58a5 | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Wed Nov 03 11:46:58 2021 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 03 12:18:51 2021 |
tree | 0071de07e43356d15223bd2b01a45b0ee4a563e5 | |
parent | 5d36df62d3117458accbae1fa7fa4ee02160caf7 [diff] |
Use observer for obtaining target in CSSOverview By removing the module.json file (and the corresponding promise to load it in `css_overview-meta.ts`), the timing for the panel changed. As such, it executes its constructor earlier than before. Normally, this isn't a problem, but in this case, the constructor was requesting the main target from the TargetManager. With the new timing, the main target isn't ready yet. Instead, we should be using the TargetObserver to obtain the correct target when it is ready. We can then propagate the relevant models to the other views, which will use it when rendering. Since these views render at a later stage, the models will be available in time. [email protected] Fixed: 1266287 Change-Id: I83d8308576b72fb8566e401be81771c7c9ae4dd7 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259087 Commit-Queue: Tim van der Lippe <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Auto-Submit: Tim van der Lippe <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Please be aware that DevTools follows additional development guidelines.
The issue triage guidelines can be found in docs/triage_guidelines.md.
Instructions to set up, use, and maintain a DevTools frontend checkout can be found in docs/workflows.md.
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.
All DevTools commits: View the log or follow @DevToolsCommits on Twitter
All open DevTools tickets on crbug.com
File a new DevTools ticket: new.crbug.com
Code reviews mailing list: [email protected]
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools