Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b9da27c9464921eb090a23994b3ae72577ad4297
https://github.com/WebKit/WebKit/commit/b9da27c9464921eb090a23994b3ae72577ad4297
Author: Youenn Fablet <[email protected]>
Date: 2026-01-23 (Fri, 23 Jan 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/tentative/static-router/static-router-resource-timing.https-expected.txt
M Source/WebKit/WebProcess/Network/WebResourceLoader.cpp
Log Message:
-----------
ServiceWorker performance resource timing need network load metrics to be
complete to be JS observable
rdar://168501148
https://bugs.webkit.org/show_bug.cgi?id=305834
Reviewed by Chris Dumez.
If network load metrics are not marked as complete, ResourceLoader is not
creating the correct resource timing entry.
When doing a load from a service worker, the metrics may be empty, for instance
in case of a synthetic response.
We explicitly mark network load metrics in
WebResourceLoader::didFinishResourceLoad as complete to fix that issue.
Canonical link: https://commits.webkit.org/306073@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications