Bug 155250

Summary: WebsiteDataStore::Configuration::legacyWebsiteDataStoreConfiguration() should respect the passed-in configuration
Product: WebKit Reporter: Conrad Shultz <conrad_shultz>
Component: WebKit2Assignee: Conrad Shultz <conrad_shultz>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, conrad_shultz
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Description Conrad Shultz 2016-03-09 12:22:27 PST
Currently, WebsiteDataStore::Configuration::legacyWebsiteDataStoreConfiguration() respects the passed-in configuration's localStorageDirectory and webSQLDatabaseDirectory, but not the others. This makes it impossible for clients to override these other directories.

legacyWebsiteDataStoreConfiguration() should use the passed-in configuration for all applicable directories.
Comment 1 Conrad Shultz 2016-03-09 12:23:03 PST
rdar://problem/24889640
Comment 2 Conrad Shultz 2016-03-09 12:30:23 PST
Created attachment 273460 [details]
Patch
Comment 3 Conrad Shultz 2016-03-09 13:21:06 PST
The mac-wk2 EWS failures relating to localstorage occur prior to this patch.
Comment 4 Conrad Shultz 2016-03-09 13:30:35 PST
Committed r197881: <http://trac.webkit.org/changeset/197881>