[Webkit-unassigned] [Bug 31266] [Qt] QWebSettings::setMaximumPagesInCache(int pages) does not enable the Page Cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 9 11:51:41 PST 2009


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





--- Comment #3 from Andras Becsi <becsi.andras at stud.u-szeged.hu>  2009-11-09 11:51:41 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > Well, the heuristics could be implemented by the browser or app using WebKit.
> > Remember QtWebKit is not just for creating browsers :-), so I think the current
> > API is OK.

Further investigation showed that in
qwebsettings.cpp:91:QWebSettingsPrivate::apply()) the attributes QHash (which
is a member of QWebSettingsPrivate) is completely empty in approx. 5900 layout
tests (from 6100 running), and has maximally 1 element in the other ~200, so it
seems that updating the whole QWebSettings enum every time apply() is called
might be a performance regression.

> > 
> > setMaximumPagesInCache was introduced before 4.6 right?
> Yes I think so.

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