Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5205050c09a98252b06e0d066b94ea44e3cfa922
https://github.com/WebKit/WebKit/commit/5205050c09a98252b06e0d066b94ea44e3cfa922
Author: Youenn Fablet <[email protected]>
Date: 2026-04-15 (Wed, 15 Apr 2026)
Changed paths:
M Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp
M Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h
Log Message:
-----------
Callers of WebSWServerConnection::checkTopOrigin should return early if check
fails
https://bugs.webkit.org/show_bug.cgi?id=312253
rdar://174495602
Reviewed by Chris Dumez.
We make checkTopOrigin return false if a MESSAGE_CHECK fails and make callers
of checkTopOrigin bail out if it returns false.
* Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp:
(WebKit::WebSWServerConnection::resolveUnregistrationJobInClient):
* Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h:
Canonical link: https://commits.webkit.org/311277@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications