[Webkit-unassigned] [Bug 77006] [StorageTracker] Make one able to set the local storage (tracker) database dir's path
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 26 11:02:10 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=77006
--- Comment #10 from Anton D'Auria <adauria at apple.com> 2012-01-26 11:02:09 PST ---
If you want to change LocalStorage paths after StorageTracker initialization, then you'll need to clear m_originSet.
In setDatabaseDirectoryPath, you'll need to add:
{
MutexLock lock(m_originSetGuard);
m_originSet.clear();
}
Then, you can call importOriginIdentifiers(). importOriginIdentifiers writes to m_originSet and will lock m_originSetGuard again at that point.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list