Commit 5e910c77 authored by simonjam@chromium.org's avatar simonjam@chromium.org

Web Inspector: [Chomium] Resources loaded with 304 status code have receiving...

Web Inspector: [Chomium] Resources loaded with 304 status code have receiving time of 15000 days in network panel.
https://bugs.webkit.org/show_bug.cgi?id=76176

Reviewed by Nate Chapin.

No new tests. Can't trigger this with inspector tests. Will add one when the Resource Timing API is in.

* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveResponse): Use monotonic time.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4cc95515
2012-01-12 James Simonsen <simonjam@chromium.org>
Web Inspector: [Chomium] Resources loaded with 304 status code have receiving time of 15000 days in network panel.
https://bugs.webkit.org/show_bug.cgi?id=76176
Reviewed by Nate Chapin.
No new tests. Can't trigger this with inspector tests. Will add one when the Resource Timing API is in.
* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveResponse): Use monotonic time.
2012-01-12 Alexey Proskuryakov <ap@apple.com>
NSURL to KURL conversion shouldn't turn raw paths into file URLs
......@@ -179,10 +179,10 @@ void SubresourceLoader::didReceiveResponse(const ResourceResponse& response)
memoryCache()->revalidationSucceeded(m_resource, response);
if (!reachedTerminalState()) {
ResourceLoader::didReceiveResponse(response);
didFinishLoading(currentTime());
didFinishLoading(monotonicallyIncreasingTime());
}
return;
}
}
// Did not get 304 response, continue as a regular resource load.
memoryCache()->revalidationFailed(m_resource);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment