[webkit-changes] [WebKit/WebKit] 404c34: Reject background fetch promise if its registratio...
youennf
noreply at github.com
Wed Mar 1 02:30:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 404c34249513e41b47991746a2f9cb0ac751c78a
https://github.com/WebKit/WebKit/commit/404c34249513e41b47991746a2f9cb0ac751c78a
Author: Youenn Fablet <youennf at gmail.com>
Date: 2023-03-01 (Wed, 01 Mar 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/background-fetch/fetch.https.window-expected.txt
M Source/WebCore/workers/service/server/SWServer.cpp
Log Message:
-----------
Reject background fetch promise if its registration active worker is null
https://bugs.webkit.org/show_bug.cgi?id=253071
rdar://problem/106026006
Reviewed by Sihui Liu.
Add active worker check as per https://wicg.github.io/background-fetch/#background-fetch-manager-fetch step 8.4.
Covered by WPT test.
* LayoutTests/imported/w3c/web-platform-tests/background-fetch/fetch.https.window-expected.txt:
* Source/WebCore/workers/service/server/SWServer.cpp:
(WebCore::SWServer::Connection::startBackgroundFetch):
Canonical link: https://commits.webkit.org/260993@main
More information about the webkit-changes
mailing list