Bug 49981 - [Qt] QWebSettings::setOfflineWebApplicationCacheQuota deletes all records from app cache db
Summary: [Qt] QWebSettings::setOfflineWebApplicationCacheQuota deletes all records fro...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Manish Gupta
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-11-23 10:19 PST by mike.zraly
Modified: 2011-10-12 07:46 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mike.zraly 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
Comment 1 Benjamin Poulain 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?
Comment 2 Zeno Albisser 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
Comment 3 Chang Shu 2011-10-12 07:46:27 PDT
The behavior is intentional.