New issue
Advanced search Search tips

Issue 901403 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 8
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 2
Type: Bug

Blocking:
issue 893647



Sign in to add a comment

Add UKM metrics for mixed content

Project Member Reported by carlosil@chromium.org, Nov 2

Issue description

Before starting the mixed content autoupgrade experiment we want to detect any sites that have a large amount of mixed content and reach out to them about the experiment (and the opt-out procedure). This requires getting UKM metrics about mixed content.


 
It doesn't matter hugely, but I'd classify this bug as a Feature, not a Bug. Also, can/should we do this on iOS?
Labels: -Type-Bug Type-Feature
It could be done for iOS, by adding the metrics to the relevant spots where the checks are done (e.g. https://cs.chromium.org/chromium/src/ios/web/net/request_tracker_impl.mm?rcl=d0c866c2ccc89e8a16350583b90f6080e44efde0&l=325 for subresources).

However the rest of the autoupgrade experiment is non-iOS only (since it happens in Blink), I'd say as a blocker for the experiment this can be non-iOS, and we can add it to iOS if we find it useful as a permanent metric.
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce

commit e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce
Author: Carlos IL <carlosil@chromium.org>
Date: Thu Nov 08 00:10:58 2018

Added metrics for mixed content events

Added UKM and UMA metrics that trigger when a site displays or runs mixed
content.

Bug:  901403 
Change-Id: I855682e2c0999a859070e89907838bcc133f8673
Reviewed-on: https://chromium-review.googlesource.com/c/1319189
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Carlos IL <carlosil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606237}
[modify] https://crrev.com/e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce/content/browser/ssl/ssl_manager.cc
[modify] https://crrev.com/e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce/tools/metrics/histograms/histograms.xml
[modify] https://crrev.com/e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce/tools/metrics/ukm/ukm.xml

Labels: Merge-Request-71
Requesting merge approval since we'd like to get mixed content metrics from 71, unblocking the rest of the experiment for 72. The above CL doesn't change any behavior, just adds a UKM/UMA metric that gets logged every time the browser displays or runs mixed content
The CL is already in Canary (72.0.3605.0)
Project Member

Comment 7 by sheriffbot@chromium.org, Nov 8

Labels: -Merge-Request-71 Hotlist-Merge-Reject Merge-Reject-71
The bug is marked as P3 or Feature. It should not be merged as M71 is in beta. 
Please contact the approriate milestone owner if you have questions.
Owners: benmason@(Android), kariahda@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Type-Feature Merge-Request-71 Type-Bug
Changing back to bug and re adding Merge Request tag to get into the attention of milestone owners.

Would it be acceptable to merge this one in? This is a set of prerequisite metrics, and waiting until 72 to get those in would delay the actual experiment until 73.
Project Member

Comment 9 by sheriffbot@chromium.org, Nov 8

Labels: -Merge-Request-71 Hotlist-Merge-Review Merge-Review-71
This bug requires manual review: M71 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: benmason@(Android), kariahda@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-71 -Merge-Reject-71 Merge-Approved-71
Approving merge to M71 branch 3578 based on comments #5, #6 and #8. Please merge ASAP. Thank you.
Project Member

Comment 11 by bugdroid1@chromium.org, Nov 8

Labels: -merge-approved-71 merge-merged-3578
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1b6140c343905ca3a532a850080d2eb0f22a7904

commit 1b6140c343905ca3a532a850080d2eb0f22a7904
Author: Carlos IL <carlosil@chromium.org>
Date: Thu Nov 08 19:26:34 2018

Added metrics for mixed content events

Added UKM and UMA metrics that trigger when a site displays or runs mixed
content.

Bug:  901403 
Change-Id: I855682e2c0999a859070e89907838bcc133f8673
Reviewed-on: https://chromium-review.googlesource.com/c/1319189
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Carlos IL <carlosil@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#606237}(cherry picked from commit e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce)
Reviewed-on: https://chromium-review.googlesource.com/c/1327542
Reviewed-by: Carlos IL <carlosil@chromium.org>
Cr-Commit-Position: refs/branch-heads/3578@{#583}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}
[modify] https://crrev.com/1b6140c343905ca3a532a850080d2eb0f22a7904/content/browser/ssl/ssl_manager.cc
[modify] https://crrev.com/1b6140c343905ca3a532a850080d2eb0f22a7904/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/1b6140c343905ca3a532a850080d2eb0f22a7904/tools/metrics/histograms/histograms.xml
[modify] https://crrev.com/1b6140c343905ca3a532a850080d2eb0f22a7904/tools/metrics/ukm/ukm.xml

Status: Fixed (was: Assigned)
Thanks!
Labels: Merge-Merged-71-3578
The following revision refers to this bug: 
https://chromium.googlesource.com/chromium/src.git/+/1b6140c343905ca3a532a850080d2eb0f22a7904

Commit: 1b6140c343905ca3a532a850080d2eb0f22a7904
Author: carlosil@chromium.org
Commiter: carlosil@chromium.org
Date: 2018-11-08 19:26:34 +0000 UTC

Added metrics for mixed content events

Added UKM and UMA metrics that trigger when a site displays or runs mixed
content.

Bug:  901403 
Change-Id: I855682e2c0999a859070e89907838bcc133f8673
Reviewed-on: https://chromium-review.googlesource.com/c/1319189
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Carlos IL <carlosil@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#606237}(cherry picked from commit e0c9eec9f74e4cd9cca5ef8c3980b6bc677c3cce)
Reviewed-on: https://chromium-review.googlesource.com/c/1327542
Reviewed-by: Carlos IL <carlosil@chromium.org>
Cr-Commit-Position: refs/branch-heads/3578@{#583}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}

Sign in to add a comment