page load metrics: data attribution sometimes incorrect for main frame resources |
|
Issue descriptionpage_load_metrics recently added support for tracking bytes used per page load: https://codereview.chromium.org/2560043004 The change assumes that the callback to inform page_load_metrics that a request has completed, which is invoked via ChromeResourceDispatcherHostDelegate::RequestComplete, can only be invoked after a navigation has committed. This assumption appears to be valid for non main frame requests. However, main frame requests can complete either before or after commit. Thus, we can no longer assume that all RequestComplete invocations should be routed to the currently committed load. Instead, it is necessary to determine which of the currently tracked provisional loads or committed load is associated with a completed main frame request. See https://docs.google.com/document/d/1dZP0si0IKEMeVKGsohJ3fFWiKqh3nZBtuTFVkAPSXYM/edit for more details.
,
Jan 17 2017
This should be fixed by the recent patch. I'll watch histograms over the coming days and close this out if things look ok. |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Jan 17 2017