Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fae960d1729e9cc5adf83696991fc6b60309e288
https://github.com/WebKit/WebKit/commit/fae960d1729e9cc5adf83696991fc6b60309e288
Author: Chris Dumez <[email protected]>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M Source/WebKit/NetworkProcess/storage/LocalStorageManager.cpp
Log Message:
-----------
LocalStorageManager::cancelConnectToTransientLocalStorageArea cleans up the
wrong storage area
https://bugs.webkit.org/show_bug.cgi?id=316614
Reviewed by Rupin Mittal.
cancelConnectToTransientLocalStorageArea() called
connectionClosedForLocalStorageArea() instead of
connectionClosedForTransientStorageArea(). The two cancel entry points are
paired with connectToLocalStorageArea / connectToTransientLocalStorageArea
respectively and should each clean up the matching storage area; this was a
copy-paste mistake from cancelConnectToLocalStorageArea() just above.
The visible effect is two-fold: a cancelled transient connection leaves its
listener registered on m_transientStorageArea until the underlying IPC
connection actually goes away, and m_localStorageArea is poked on behalf of
a connection that was never registered there (which can drop it if no other
listeners remain).
* Source/WebKit/NetworkProcess/storage/LocalStorageManager.cpp:
(WebKit::LocalStorageManager::cancelConnectToTransientLocalStorageArea):
Canonical link: https://commits.webkit.org/314857@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications