[webkit-qt] Per-instance cookie jar

Alberto Mardegan mardy at users.sourceforge.net
Tue Jan 29 22:49:44 PST 2013


On 01/29/2013 11:31 PM, Balazs Kelemen wrote:
>> I submitted https://bugs.webkit.org/show_bug.cgi?id=108052 and started
>> working on this. However, I soon realized that the
>> WebContext::setCookieStorageDirectory() is private and looking at the
>> git history it seems to have been added mainly for testing purposes.
>
> If I remember correctly it is already accessible from the C API.

That's right, it's actually the getter, 
WebContext::cookieStorageDirectory(), which is private.
Still, as Jocelyn pointed out in the bug comments, this approach 
wouldn't work well and a way to communicate with the cookie jar from the 
UIProcess doesn't exist yet.

So, I'm back to square one. Maybe wrapping the WebKit1 API in a 
QQuickItem is the best choice after all.

Ciao,
   Alberto


More information about the webkit-qt mailing list