DescriptionUse completion_time to call LoadingFinished of DevTools's Network event for navigation preload
Currently NetworkHandler::NavigationPreloadCompleted() is using TimeTicks::Now()
to call LoadingFinished() of DevTools's Network event. But for normal requests
from the renderer, FrameFetchContext::DispatchDidFinishLoading() is using the
|finish_time| which is originated from ResourceRequestCompletionStatus's
completion_time.
NetworkHandler::NavigationPreloadCompleted() should use the same timing
information.
I found this difference while investigating the issue 712809. |completion_time|
is set when the request finished but, NavigationPreloadCompleted() isn't called
before the service worker finishes starting up.
BUG=712809
Review-Url: https://codereview.chromium.org/2844133005
Cr-Commit-Position: refs/heads/master@{#467896}
Committed: https://chromium.googlesource.com/chromium/src/+/99d003caf2d7876a7e402a07caa94a5c24ccb922
Patch Set 1 #
Messages
Total messages: 15 (11 generated)
|