commit | 0fc97b7038fffd347c40a4c27418975a84b4f58d | [log] [tgz] |
---|---|---|
author | Nate Fischer <ntfschr@chromium.org> | Tue Jun 11 18:34:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 11 18:34:48 2019 |
tree | 7345b1cbe3454c1d850ef7ae29cd775ca006d75d | |
parent | 8318e75a4a44478edd5d53f60e01c305c8b06115 [diff] |
AW: add UMA for fix-up secure cookie behavior No change to production logic. This adds UMA logging for MaybeFixUpSchemeForSecureCookie(), a method which, to support legacy applications, replaces HTTP scheme URLs with HTTPS scheme URLs if the app tries to set a 'Secure' cookie (this used to work in chromium, but Chrome enforces a Strict Secure Cookie Policy now). This adds tests to check we log this metric as intended. Bug: 933981 Test: run_webview_instrumentation_test_apk -f CookieManagerTest Cq-Include-Trybots: luci.chromium.try:android_mojo Change-Id: Ie88f0f1d0482a4f46cca93a41a56595c3c83575e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647176 Commit-Queue: Nate Fischer <ntfschr@chromium.org> Reviewed-by: Tim Volodine <timvolodine@chromium.org> Reviewed-by: Changwan Ryu <changwan@chromium.org> Reviewed-by: Steven Holte <holte@chromium.org> Cr-Commit-Position: refs/heads/master@{#668064}
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 .