Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d54287a0ebaaf0c0a64d504901c9bece7d9aad4c
      
https://github.com/WebKit/WebKit/commit/d54287a0ebaaf0c0a64d504901c9bece7d9aad4c
  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/NetworkProcess/ServiceWorker/ServiceWorkerFetchTask.cpp

  Log Message:
  -----------
  Service worker performance timing entries are not correctly generated with 
DOMCache loads
rdar://168501808
https://bugs.webkit.org/show_bug.cgi?id=305835

Reviewed by Chris Dumez.

The response URL is needed to create the related performance timing entry.
When the load is coming straight from DOMCache, the response URL may not be set.
In that case, we use the request URL in 
ServiceWorkerFetchTask::respondWithCacheResponse, as done for instance when 
processing the response given via FetchEvent.respondWith..

Covered by rebased test.

Canonical link: https://commits.webkit.org/306076@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to