Chromium Code Reviews
DescriptionUpdate both end time and end reason when we don't have an end time.
In the PageLoadTracker destructor, if we encounter a load without
an end time, we use the current time as the end time.
However, this causes a DCHECK in GetPageLoadExtraInfo to fire shortly
after, since the end time and end reason are out of sync.
This change makes sure that both end time and end reason stay in sync
when this case is encountered.
This also re-enables a disabled test that was failing due to the
GetPageLoadExtraInfo DCHECK.
BUG=651844
Review-Url: https://codereview.chromium.org/2800873002
Cr-Commit-Position: refs/heads/master@{#462317}
Committed: https://chromium.googlesource.com/chromium/src/+/6b17878ebc18e3f4df888b42ec74e5d3b4b0be94
Patch Set 1 #
Messages
Total messages: 16 (10 generated)
|
||||||||||||||||||||||||||||