Title: [169915] trunk/Source/WebCore
Revision
169915
Author
[email protected]
Date
2014-06-12 15:36:22 -0700 (Thu, 12 Jun 2014)

Log Message

Collect correct web timing data from CFNetwork.
https://bugs.webkit.org/show_bug.cgi?id=133824
<rdar://problem/17273654>

Patch by Alex Christensen <[email protected]> on 2014-06-12
Reviewed by Simon Fraser.

Covered by existing web timing tests.

* platform/network/mac/ResourceHandleMac.mm:
(WebCore::ResourceHandle::getConnectionTimingData):
Use _kCFNTimingDataFetchStart as the reference start time key.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (169914 => 169915)


--- trunk/Source/WebCore/ChangeLog	2014-06-12 22:34:39 UTC (rev 169914)
+++ trunk/Source/WebCore/ChangeLog	2014-06-12 22:36:22 UTC (rev 169915)
@@ -1,3 +1,17 @@
+2014-06-12  Alex Christensen  <[email protected]>
+
+        Collect correct web timing data from CFNetwork.
+        https://bugs.webkit.org/show_bug.cgi?id=133824
+        <rdar://problem/17273654>
+
+        Reviewed by Simon Fraser.
+
+        Covered by existing web timing tests.
+
+        * platform/network/mac/ResourceHandleMac.mm:
+        (WebCore::ResourceHandle::getConnectionTimingData):
+        Use _kCFNTimingDataFetchStart as the reference start time key.
+
 2014-06-12  Brent Fulgham  <[email protected]>
 
         Convert TileController and TileGrid from ObjC to C++

Modified: trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm (169914 => 169915)


--- trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm	2014-06-12 22:34:39 UTC (rev 169914)
+++ trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm	2014-06-12 22:36:22 UTC (rev 169915)
@@ -734,7 +734,7 @@
 
     // This is not the navigationStart time in monotonic time, but the other times are relative to this time
     // and only the differences between times are stored.
-    double referenceStart = [[timingData valueForKey:@"_kCFNTimingDataTimingDataInit"] doubleValue];
+    double referenceStart = [[timingData valueForKey:@"_kCFNTimingDataFetchStart"] doubleValue];
             
     double domainLookupStart = [[timingData valueForKey:@"_kCFNTimingDataDomainLookupStart"] doubleValue];
     double domainLookupEnd = [[timingData valueForKey:@"_kCFNTimingDataDomainLookupEnd"] doubleValue];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to