Bug 97399

Summary: Allow setting a custom path to where the plug-in sandbox profiles are being kept
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Sam Weinig
Reported 2012-09-22 15:11:07 PDT
Allow setting a custom path to where the plug-in sandbox profiles are being kept
Attachments
Patch (6.09 KB, patch)
2012-09-22 15:13 PDT, Sam Weinig
andersca: review+
Sam Weinig
Comment 1 2012-09-22 15:13:17 PDT
Anders Carlsson
Comment 2 2012-09-22 15:15:20 PDT
Comment on attachment 165270 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=165270&action=review > Source/WebKit2/UIProcess/Plugins/mac/PluginProcessProxyMac.mm:56 > +NSString * const PlugInSandboxProfileDirectoryPathKey = @"PlugInSandboxProfileDirectoryPath"; I think the preference key should have a WebKit prefix. > Source/WebKit2/UIProcess/Plugins/mac/PluginProcessProxyMac.mm:140 > + NSString* sandboxProfileDirectoryPath = [[NSUserDefaults standardUserDefaults] stringForKey:PlugInSandboxProfileDirectoryPathKey]; > + if (sandboxProfileDirectoryPath) > + parameters.sandboxProfileDirectoryPath = String(sandboxProfileDirectoryPath); Add a FIXME about disallowing this for app sandbox apps.
Sam Weinig
Comment 3 2012-09-22 15:18:12 PDT
Note You need to log in before you can comment on or make changes to this bug.