[Webkit-unassigned] [Bug 100483] [Qt][WK2] Add QML API to clear memory caches and local storage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 1 03:28:02 PDT 2012


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





--- Comment #7 from Jocelyn Turcotte <jocelyn.turcotte at digia.com>  2012-11-01 03:29:23 PST ---
We had plans to expose the WebContext in QML at some point but it wasn't easy to decide if we would require any WebView to be created within a WebContext, if a WebView could create its own default WebContext, etc. so we decided not to expose it. Most QML items should either affect the display or input events.

Though we would need a similar mechanism to support static settings in QWebSettings in WebKit2 like storage paths.

One quick idea is to have a QtWebKit global object, similar to the Qt object ( http://doc.qt.digia.com/qt/qdeclarativeglobalobject.html ) and within there expose context/global functions. This assumes that we support only one WebContext at a time which is something we didn't agree to yet.
This is just an example and I haven't tried it myself, maybe it's not even possible to let the QtWebKit import add anything to the global object.

But all this is a bit out of the focus of the team at the moment and any such change shouldn't be done before we branched for 5.0.

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