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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs
Would you mind attaching a test case?
Zeno Albisser
This seems to be done intentionally to match the behavior of other platforms (mac & gtk).
http://trac.webkit.org/changeset/56140
Chang Shu
The behavior is intentional.