Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7f40ad59f443c654b56f9428d76ef85136f74d2e
https://github.com/WebKit/WebKit/commit/7f40ad59f443c654b56f9428d76ef85136f74d2e
Author: Kiara Rose <[email protected]>
Date: 2026-01-15 (Thu, 15 Jan 2026)
Changed paths:
M Source/WebKit/UIProcess/Extensions/API/WebExtensionContextAPIStorage.cpp
Log Message:
-----------
Clients may hang under WebExtensionContext::fireStorageChangedEventIfNeeded
https://bugs.webkit.org/show_bug.cgi?id=305347
rdar://167780475
Reviewed by Brian Weinstein and Timothy Hatcher.
Clients may hang while we attempt to parse a lot of extension storage data at
once via JSON::Value::parseJSON.
This work doesn't need to be done on the main thread so dispatch to a
background thread instead.
* Source/WebKit/UIProcess/Extensions/API/WebExtensionContextAPIStorage.cpp:
(WebKit::extensionStorageQueue):
(WebKit::WebExtensionContext::fireStorageChangedEventIfNeeded):
Canonical link: https://commits.webkit.org/305647@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications