commit | ac24e578a3694c8f4c6c35ee3b7a8d046d686e67 | [log] [tgz] |
---|---|---|
author | John Delaney <johnidel@chromium.org> | Tue Apr 30 19:47:02 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 30 19:47:02 2019 |
tree | ee30667e1a4ea19af82d4c65f0854f63aad6dced | |
parent | a020fd3e2a315d42c7c97cb932c2cfdff8ba6dad [diff] |
Add feature to freeze user agent string Adds a feature that will freeze the user-agent string, and modifies the navigator.appVersion, navigator.userString, and navigator.platform API's to return information matching the frozen string. This follows the intended final state of https://github.com/WICG/ua-client-hints. This change does not affect the user agent used by quic or inside of webview. Arbitrary values were chosen for the Chrome Version/OS/Architecture in the frozen strings. Change-Id: Ib8db4435219d04264fccae30f87bfdbe57f64a45 Bug: 955620 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1570754 Reviewed-by: Jochen Eisinger <jochen@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Reviewed-by: Josh Karlin <jkarlin@chromium.org> Commit-Queue: John Delaney <johnidel@chromium.org> Cr-Commit-Position: refs/heads/master@{#655296}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .