New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 921710 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

UKM boolean for whether a page load was user-initiated.

Project Member Reported by sullivan@chromium.org, Jan 14

Issue description

Record a UKM to count how often pages are reloaded manually by users.
 
Summary: UKM boolean for whether a page load was user-initiated. (was: UKM for number of times a page reloaded)
We realized we can tell whether the page was reloaded already, but not whether the load was user-initiated. This would be great to have for a lot of use cases, including reloads. Changing this issue to be about adding a boolean to PageLoad UKM to indicate whether the page load was user-initiated.
Status: Assigned (was: Untriaged)
Project Member

Comment 4 by bugdroid, Today (7 hours ago)

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

commit 496d10a4755317cfeac6349bf88d6270416c37e3
Author: Annie Sullivan <sullivan@chromium.org>
Date: Tue Jan 22 23:23:51 2019

Add a UserInitiated boolean to PageLoad UKM

This counts a load as user-initiated if it's started in the browser, or
it's started in the renderer and we can tie it back to the original
input event. There are some notable missing cases in the renderer, like
back/forward and reload.

Bug: 921710
Change-Id: Ibc034fbfa077a73148c9cc93032e8dc4a57dae5f
Reviewed-on: https://chromium-review.googlesource.com/c/1423110
Commit-Queue: Annie Sullivan <sullivan@chromium.org>
Reviewed-by: Bryan McQuade <bmcquade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#624982}
[modify] https://crrev.com/496d10a4755317cfeac6349bf88d6270416c37e3/chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc
[modify] https://crrev.com/496d10a4755317cfeac6349bf88d6270416c37e3/chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer_unittest.cc
[modify] https://crrev.com/496d10a4755317cfeac6349bf88d6270416c37e3/tools/metrics/ukm/ukm.xml

Sign in to add a comment