[Webkit-unassigned] [Bug 46287] [Qt] Enable Netscape plugin metadata caching on Linux should not be set in QWebSettings::enablePersistentStorage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 30 01:16:36 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46287





--- Comment #10 from Simon Hausmann <hausmann at webkit.org>  2010-09-30 01:16:36 PST ---
(In reply to comment #9)
> (In reply to comment #7)
> > Why don't we change the behaviour of enablePersistentStorage() to put persistent storage into the provided storage path (or the DataLocation fallback) and put all _caches_ into a (documented) directory under QDesktopServices::CacheLocation?
> > 
> > 
> > Basically I'm questioning if we really need an API if we can choose a sane default already in WebKit :)
> 
> Sounds very wise. Probably with "all _caches_" you mean all app-global caches. E.g. data caches like http caches, html5 app cache content, icon db, etc. probably should stay at datalocation, as they may leak app-specific info.
> 
> Also need to probably hardcode the caches path to ~/.appname/caches or something if the qdesktopservices is not available (the ifdef part)..
> 
> And hope that the cachelocation call produces desired results on symbian..

I guess it really depends on what kind of leakage we're afraid of with the wrt, but I'd say any kind of storage that is a cache that can safely be deleted could be stored in a common location.

If there's a bug in WebKit leaking information when it shouldn't, then we should fix that :)

-- 
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