commit | b2b0c3b6c6e093649c35b6824004284ca4c2bd4a | [log] [tgz] |
---|---|---|
author | Guangyue Xu <guangyue.xu@microsoft.com> | Fri Apr 23 22:37:44 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 23 23:30:38 2021 |
tree | 6bfc28905d066010565fee000935b76523183b6d | |
parent | cbc76892720240a8ee4a4354244d0ab19acff871 [diff] |
Apply user agent client hints for pre-canned devices in the "Network conditions" tab This change is to fetch userAgentMetadata and override navigator.userAgentData when user selects a pre-canned user agent from the network conditions tab. Created 3 test scenarios to cover the userAgentMetadata values: 1) a device with userAgentMetadata and fixed userAgent value; 2) a device with userAgentMetadata and dynamic userAgent value where browser version is filled in dynamically; 3) a device without userAgentMetadata. Bug: 1174299 Change-Id: If38cbb1f26784af890c86b7140b90899a6aa8504 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2832109 Commit-Queue: Guangyue Xu <guangyue.xu@microsoft.com> Reviewed-by: Brandon Walderman <brwalder@microsoft.com> Reviewed-by: Mathias Bynens <mathias@chromium.org> Reviewed-by: John Emau <John.Emau@microsoft.com>
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: devtools-reviews@chromium.org
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools