New issue
Advanced search Search tips

Issue 781959 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 736416



Sign in to add a comment

PasswordManager.Android.PasswordExceptionEntry.Website is Constructed With Incorrect Parameters

Project Member Reported by bcwh...@chromium.org, Nov 6 2017

Issue description

Chrome Version: HEAD
OS: ALL

https://uma.googleplex.com/p/chrome/histograms/?endDate=latest&dayCount=28&histograms=Histogram.BadConstructionArguments%2CPasswordManager.Android.PasswordExceptionEntry.Website&fixupData=true&showMax=true&filters=channel%2Ceq%2C1%2Cisofficial%2Ceq%2CTrue&implicitFilters=isofficial

The PasswordManager.Android.PasswordExceptionEntry.Website histogram is being constructed with bad parameters.  It's being created here:
https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/preferences/password/PasswordEntryEditor.java?rcl=fbefdb0bac773bb088f7145e24c6e582e7415aad&l=365

The problem is that the cut-off value (WEBSITE_ACTION_BOUNDARY) is 1 (one) which is too small.  Histograms have to have at least 2 (two) buckets so WEBSITE_ACTION_BOUNDARY needs to be incremented even if that leaves a bucket that is never used.


 
Blocking: 736416
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 15 2017

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

commit 4d70fae6a69ec5a72afad720384edcbac00fe70f
Author: jdoerrie <jdoerrie@chromium.org>
Date: Wed Nov 15 10:27:56 2017

Fix PasswordManager.Android Histograms

This change increments the boundary for two single value histograms to
be at least 2. This results in Histogram.BadConstructionArguments
otherwise.

Bug:  781959 
Change-Id: I3a92dfe83e2356af80abe1b1ea0dff65a964b573
Reviewed-on: https://chromium-review.googlesource.com/768814
Reviewed-by: Finnur Thorarinsson <finnur@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516657}
[modify] https://crrev.com/4d70fae6a69ec5a72afad720384edcbac00fe70f/chrome/android/java/src/org/chromium/chrome/browser/preferences/password/PasswordEntryEditor.java

Status: Fixed (was: Assigned)

Sign in to add a comment