Bug 27876

Summary: Expose the Offline Web Application Cache API in the Qt API
Product: WebKit Reporter: Kenneth Rohde Christiansen <kenneth>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Add API to Qt for exposing the webcache none

Kenneth Rohde Christiansen
Reported 2009-07-31 05:44:42 PDT
Created attachment 33873 [details] Add API to Qt for exposing the webcache We need to expose the offline web app cache in the Qt API, so that users can at least set some sane defaults for their applications.
Attachments
Add API to Qt for exposing the webcache (5.07 KB, patch)
2009-07-31 05:44 PDT, Kenneth Rohde Christiansen
no flags
Tor Arne Vestbø
Comment 1 2009-07-31 06:22:37 PDT
Comment on attachment 33873 [details] Add API to Qt for exposing the webcache looks good, but we have to do an api review of all of this offline/cache stuff before the release. a few nitpicks: > @@ -358,7 +358,6 @@ QWebSettings::QWebSettings() > d->attributes.insert(QWebSettings::LocalStorageDatabaseEnabled, true); > d->attributes.insert(QWebSettings::LocalContentCanAccessRemoteUrls, true); > d->offlineStorageDefaultQuota = 5 * 1024 * 1024; > - > } Whitespace change, please remove. > @@ -785,10 +784,17 @@ qint64 QWebSettings::offlineStorageDefaultQuota() > } > > /* > - \internal > + \since 4.6 > \relates QWebSettings > > Sets the path for HTML5 offline web application cache storage to \a path. Please add linebreak here. > + An application cache acts like an HTTP cache in some sense. For documents > + that use the application cache via JavaScript, the loader mechinery will > + first ask the application cache for the contents, before hitting the > + network.
Kenneth Rohde Christiansen
Comment 2 2009-07-31 06:30:37 PDT
Comment on attachment 33873 [details] Add API to Qt for exposing the webcache Landed in 46628
Note You need to log in before you can comment on or make changes to this bug.