[webkit-dev] Enable Cookies, Javascripts

Holger Freyther zecke at selfish.org
Wed Nov 7 01:09:56 PST 2007


Am 07.11.2007 um 06:04 schrieb Naiem Shaik:

> Hi All,
> In WebKit+Gtk port, there is an API,
> Settings::setJavaScriptEnabled(bool isJavaScriptEnabled),
> I have called this API setting it TRUE.
> When I try to open http://www.mapquest.com/, page displays a message
> that Javascript and cookies must be turned ON.
> I am assuming that javascript is enabled with the above API call, so
> could somebody please let me know how to enable cookies.

Hi,

check the mailinglist archive. There was a thread on cookies for Gtk+  
some month back. The situation looks like this:  
ResourceHandleManagerCurl.cpp can get a cookies file set, this will  
be set to CURL.
So what you want to do is:
	-Write the code in a way you can send us a patch (hint, hint, hint)
	-Look into CURL how it handles cookies
	-Check if we set cookies on a request in ResourceHandleManagerCurl,  
and check how it needs to be done with CURL
	-You can look at the sandlabs WebKit fork, they have created another  
cookie manager and you could backport the patches.

I'm looking forward to see your patch.

	kind regards
		z.


More information about the webkit-dev mailing list