Title: [278752] trunk/Source/WebCore
Revision
278752
Author
yu...@chromium.org
Date
2021-06-10 20:37:18 -0700 (Thu, 10 Jun 2021)

Log Message

[REGRESSION][Curl] Network::ResourceTiming are broken after r278391
https://bugs.webkit.org/show_bug.cgi?id=226901

Reviewed by Fujii Hironori.

Initialize fetchStart with startTime in Curl.

No new tests.

* platform/network/curl/CurlContext.cpp:
(WebCore::CurlHandle::getNetworkLoadMetrics):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (278751 => 278752)


--- trunk/Source/WebCore/ChangeLog	2021-06-11 03:22:43 UTC (rev 278751)
+++ trunk/Source/WebCore/ChangeLog	2021-06-11 03:37:18 UTC (rev 278752)
@@ -1,3 +1,17 @@
+2021-06-10  Yury Semikhatsky  <yu...@chromium.org>
+
+        [REGRESSION][Curl] Network::ResourceTiming are broken after r278391
+        https://bugs.webkit.org/show_bug.cgi?id=226901
+
+        Reviewed by Fujii Hironori.
+
+        Initialize fetchStart with startTime in Curl.
+
+        No new tests.
+
+        * platform/network/curl/CurlContext.cpp:
+        (WebCore::CurlHandle::getNetworkLoadMetrics):
+
 2021-06-10  Sam Weinig  <wei...@apple.com>
 
         Nothing is keeping navigator.xr alive during GC

Modified: trunk/Source/WebCore/platform/network/curl/CurlContext.cpp (278751 => 278752)


--- trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2021-06-11 03:22:43 UTC (rev 278751)
+++ trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2021-06-11 03:37:18 UTC (rev 278752)
@@ -793,6 +793,7 @@
 
     NetworkLoadMetrics networkLoadMetrics;
 
+    networkLoadMetrics.fetchStart = startTime;
     networkLoadMetrics.domainLookupStart = startTime;
     networkLoadMetrics.domainLookupEnd = startTime + Seconds(nameLookup);
     networkLoadMetrics.connectStart = networkLoadMetrics.domainLookupEnd;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to