-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invalidate extension's reference to database after it's been deleted.
https://bugs.webkit.org/show_bug.cgi?id=271020 rdar://124037961 Reviewed by Sihui Liu and Timothy Hatcher. When an extension's SQL database is deleted, send a notification to the WebExtensionController to invalidate the extension context's reference to the database. A distrubuted notification here is important since this deletion may happen from a process where the WebExtensionContext isn't loaded. * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionControllerCocoa.mm: (-[_WKWebExtensionControllerHelper initWithWebExtensionController:]): (-[_WKWebExtensionControllerHelper _didDeleteLocalStorage:]): (WebKit::WebExtensionController::createWebExtensionControllerHelper): (WebKit::WebExtensionController::removeData): * Source/WebKit/UIProcess/Extensions/WebExtensionController.cpp: (WebKit::WebExtensionController::WebExtensionController): * Source/WebKit/UIProcess/Extensions/WebExtensionController.h: Canonical link: https://commits.webkit.org/276202@main
- Loading branch information
1 parent
e6d4d4d
commit 5ac28a0
Showing
5 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters