[Webkit-unassigned] [Bug 29580] New: [Qt] QWebSettings::OfflineWebApplicationCacheEnabled doesn't w ork

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 08:45:28 PDT 2009


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

           Summary: [Qt] QWebSettings::OfflineWebApplicationCacheEnabled
                    doesn't w ork
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from Nokia internal issue QT-1841


--- Comments ---

Product
Qt

Function
webkit

Version
4.5.1

Platform
Windows XP

Platform details

Compilers
MSVC

Compiler details
Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)

Subject
QWebSettings::OfflineWebApplicationCacheEnabled doesn't work

Steps to reproduce / test case
Create a simple QWebView.
Call
QWebSettings::globalSettings()->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled,
true); which should be the default anyway.
Call QWebSettings::setOfflineStorageDefaultQuota(10 * 1024 * 1024);

I also tried different settings for OfflineStoragePath.

Try a page using offline application cache, like
http://webkit.org/demos/calendar/Calendar.html.
There should be a file called ApplicationCache.db somewhere containing the
cached files. But there is no such file.
Refreshing the page mentioned above needs online access to work. This should
not be the case.

More information
I found qt_websettings_setOfflineWebApplicationCachePath() to be a free
function in qwebsettings.cpp, so I tried to call it and test what might happen.
Setting the path using the mentioned function enables the web application
cache, an ApplicationCache.db is created in the provides path.
But it seems like the feature is somewhat broken. Restarting the test
application with an already created ApplicationCache.db frequently crashes the
application. Also, it seem as if the caching doesn't work altogether.

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