Changeset 104887 in webkit


Ignore:
Timestamp:
Jan 12, 2012 5:56:56 PM (12 years ago)
Author:
simonjam@chromium.org
Message:

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.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r104885 r104887  
     12012-01-12  James Simonsen  <simonjam@chromium.org>
     2
     3        Web Inspector: [Chomium] Resources loaded with 304 status code have receiving time of 15000 days in network panel.
     4        https://bugs.webkit.org/show_bug.cgi?id=76176
     5
     6        Reviewed by Nate Chapin.
     7
     8        No new tests. Can't trigger this with inspector tests. Will add one when the Resource Timing API is in.
     9
     10        * loader/SubresourceLoader.cpp:
     11        (WebCore::SubresourceLoader::didReceiveResponse): Use monotonic time.
     12
    1132012-01-12  Alexey Proskuryakov  <ap@apple.com>
    214
  • trunk/Source/WebCore/loader/SubresourceLoader.cpp

    r104756 r104887  
    180180            if (!reachedTerminalState()) {
    181181                ResourceLoader::didReceiveResponse(response);
    182                 didFinishLoading(currentTime());
     182                didFinishLoading(monotonicallyIncreasingTime());
    183183            }
    184184            return;
    185         } 
     185        }
    186186        // Did not get 304 response, continue as a regular resource load.
    187187        memoryCache()->revalidationFailed(m_resource);
Note: See TracChangeset for help on using the changeset viewer.