[webkit-changes] [WebKit/WebKit] 84e59d: Stop using Safari paths for SafariForWebKitDevelop...
Sihui
noreply at github.com
Wed Jan 4 20:16:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 84e59dc75f5e8c15934d1d3d2f91b33e89e60ba0
https://github.com/WebKit/WebKit/commit/84e59dc75f5e8c15934d1d3d2f91b33e89e60ba0
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm
Log Message:
-----------
Stop using Safari paths for SafariForWebKitDevelopment
https://bugs.webkit.org/show_bug.cgi?id=250063
rdar://102422209
Reviewed by Chris Dumez.
SafariForWebKitDevelopment is used for testing local builds of WebKit, which can contain untrusted code, so it should
not touch Safari files / directories in data vaults (e.g. ~/Library/Safari).
* Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
(WebKit::applicationOrProcessIdentifier):
(WebKit::defaultWebsiteDataStoreRootDirectory):
(WebKit::WebsiteDataStore::tempDirectoryFileSystemRepresentation):
(WebKit::WebsiteDataStore::cacheDirectoryFileSystemRepresentation):
(WebKit::WebsiteDataStore::websiteDataDirectoryFileSystemRepresentation):
Canonical link: https://commits.webkit.org/258470@main
More information about the webkit-changes
mailing list