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

Issue 921703 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Measure time spent in foreground in a repeated UKM to account for tab backgrounding.

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

Issue description

There is a PageLoad.PageTiming.ForegroundDuration which logs the duration of time spent in milliseconds on the page. But since PageLoad is not a repeated field, it only logs the time spent from the load of the page until the page is backgrounded or closed.

If we changed this to a repeated field, and updated the collection code, we could log all time spent when the page was in the foreground, no matter whether it was originally loaded in the foreground or background, and no matter how many times it switched from foreground to background.
 
Cc: bmcquade@chromium.org tdres...@chromium.org

Sign in to add a comment