[Resource Timing] Add finalResponseHeadersStart and firstInterimResponseStart attributes#55467
Conversation
|
EWS run on previous version of this PR (hash c4f21c9) Details |
c4f21c9 to
e26cf96
Compare
|
EWS run on previous version of this PR (hash e26cf96) Details |
|
EWS run on previous version of this PR (hash 87522f0) Details |
87522f0 to
d5404d1
Compare
|
EWS run on previous version of this PR (hash d5404d1) Details |
d5404d1 to
41d54fc
Compare
|
EWS run on previous version of this PR (hash 41d54fc) Details |
|
This seems fine so I approved it, but it looks like worker-performance.worker-expected.txt needs updating too |
41d54fc to
9f60c12
Compare
|
EWS run on previous version of this PR (hash 9f60c12) Details |
9f60c12 to
6eb0a1a
Compare
|
EWS run on previous version of this PR (hash 6eb0a1a) Details |
|
@achristensen07 thx, feedback addressed |
6eb0a1a to
f3f4d71
Compare
|
EWS run on previous version of this PR (hash f3f4d71) Details |
f3f4d71 to
97b8929
Compare
|
EWS run on previous version of this PR (hash 97b8929) Details |
97b8929 to
9ab36a6
Compare
|
EWS run on previous version of this PR (hash 9ab36a6) Details |
9ab36a6 to
e16674a
Compare
|
EWS run on previous version of this PR (hash e16674a) Details |
|
EWS run on previous version of this PR (hash 85a0d3c) Details |
85a0d3c to
3586a3c
Compare
|
EWS run on previous version of this PR (hash 3586a3c) Details |
|
EWS run on previous version of this PR (hash 5d8da4b) Details |
|
EWS run on previous version of this PR (hash 977db4c) Details |
|
EWS run on previous version of this PR (hash 86688b1) Details |
|
EWS run on previous version of this PR (hash bb094c1) Details |
|
Safe-Merge-Queue: Build #78781. |
|
This change contains multiple commits which are not squashed together, blocking PR #55467. Please squash the commits to land. |
bb094c1 to
55c8dfe
Compare
|
EWS run on current version of this PR (hash 55c8dfe) Details |
…nseStart attributes https://bugs.webkit.org/show_bug.cgi?id=304235 Reviewed by Alex Christensen. Implement W3C Resource Timing Level 3 attributes for distinguishing interim (1xx) and final response timing. This enables proper measurement of HTTP 103 Early Hints and other informational responses. Timestamps are captured via NSURLSession delegate callbacks without requiring CFNetwork changes. * Source/WebCore/page/PerformanceResourceTiming.cpp: (WebCore::PerformanceResourceTiming::finalResponseHeadersStart const): Added. (WebCore::PerformanceResourceTiming::firstInterimResponseStart const): Added. (WebCore::PerformanceResourceTiming::responseStart const): Updated to return interim if present. * Source/WebCore/page/PerformanceResourceTiming.h: * Source/WebCore/page/PerformanceResourceTiming.idl: * Source/WebCore/platform/network/NetworkLoadMetrics.cpp: (WebCore::NetworkLoadMetrics::updateFromFinalMetrics): (WebCore::NetworkLoadMetrics::isolatedCopy const): * Source/WebCore/platform/network/NetworkLoadMetrics.h: * Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didReceiveInformationalResponse:]): (-[WKNetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]): * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: * LayoutTests/imported/w3c/web-platform-tests/resource-timing/idlharness.any-expected.txt: Updated expectations. * LayoutTests/imported/w3c/web-platform-tests/resource-timing/idlharness.any.worker-expected.txt: Updated expectations. Add soup/glib support for interim response timing Implement firstInterimResponseStart and finalResponseHeadersStart capture for Linux/GTK/WPE platforms using libsoup's got-headers signal. The got-headers callback is invoked for all HTTP responses including informational (1xx) responses, allowing us to distinguish and capture timing for both interim and final responses. Add Helmut Januschka to contributors Canonical link: https://commits.webkit.org/304905@main
55c8dfe to
68d1baf
Compare
|
Committed 304905@main (68d1baf): https://commits.webkit.org/304905@main Reviewed commits have been landed. Closing PR #55467 and removing active labels. |
68d1baf
55c8dfe
🧪 win-tests🛠 playstation