[webkit-changes] [WebKit/WebKit] e8e52c: Preload based ServiceWorkerFetchTask should not fa...
youennf
noreply at github.com
Wed Mar 29 12:51:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e8e52c7a1adc2df4fb8b0619147a37145dfb8171
https://github.com/WebKit/WebKit/commit/e8e52c7a1adc2df4fb8b0619147a37145dfb8171
Author: Youenn Fablet <youennf at gmail.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M Source/WebKit/NetworkProcess/ServiceWorker/ServiceWorkerFetchTask.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm
Log Message:
-----------
Preload based ServiceWorkerFetchTask should not fail if its context is stopped
https://bugs.webkit.org/show_bug.cgi?id=254649
rdar://107290643
Reviewed by Alex Christensen.
In some edge cases, we are closing the service worker process while there is an ongoing preload.
We should not fail the load in this case since the preload does not need the service worker process.
* Source/WebKit/NetworkProcess/ServiceWorker/ServiceWorkerFetchTask.cpp:
(WebKit::ServiceWorkerFetchTask::contextClosed):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:
Canonical link: https://commits.webkit.org/262286@main
More information about the webkit-changes
mailing list