jocelyn.turcotte at nokia.com
Thu May 3 04:05:53 PDT 2012
On Thu, 3 May 2012 01:03:41 +0200
ext Allan Sandfeld Jensen <kde at carewolf.com> wrote:
> > With WK2 the jar sits on the WebProcess so we need to find a way for
> > the API user to set it's custom cookie jar in the WebProcess. I see
> > two approaches : plugin or we let the application creating the
> > WebProcess itself so it can set the cookie jar (we would then just
> > expose a tiny class to create the WebProcess).
> Or a dbus interface :) that was by far the simplest solution for me
> and kept the WK2 API completely out of the equation. Also the
> kcookiejar and the webcore has almost 1-1 APIs so the code is much
> simpler than the existing implementation. But no, I am not sure if it
> is a good idea in the long run.
Personally I'd like to see the cookie jar being exposed in the UI process at some point for 3rd party applications (possibly under QNetworkCookieJar's interface).
Giving the option to integrate with the system's cookie jar could also be a nice out-of-the box solution.
More information about the webkit-qt