Bug 49981

Summary: [Qt] QWebSettings::setOfflineWebApplicationCacheQuota deletes all records from app cache db
Product: WebKit Reporter: mike.zraly
Component: WebCore Misc.Assignee: Manish Gupta <manish.5.gupta>
Status: RESOLVED INVALID    
Severity: Major CC: benjamin, cshu, zeno
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

mike.zraly
Reported 2010-11-23 10:19:27 PST
The QWebSettings::setOfflineWebApplicationCacheQuota() method deletes all records from the application cache database before it sets the cache quota. This is unexpected and undocumented. It is not possible to change -- even INCREASE -- the quota without discarding all the old application cache data. Note: there is already a bug filed to add an API for managing quotas in the app cache: https://bugs.webkit.org/show_bug.cgi?id=48194
Attachments
Benjamin Poulain
Comment 1 2011-01-14 15:19:12 PST
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs Would you mind attaching a test case?
Zeno Albisser
Comment 2 2011-09-09 02:53:21 PDT
This seems to be done intentionally to match the behavior of other platforms (mac & gtk). http://trac.webkit.org/changeset/56140
Chang Shu
Comment 3 2011-10-12 07:46:27 PDT
The behavior is intentional.
Note You need to log in before you can comment on or make changes to this bug.