Hi All, Thanks for your reply.I am totally new for the GtkWebkit.I tried to follow your suggestion but I am unable to achive my target. I get response in FrameLoaderClient::setMainDocumentError and FrameLoaderClient::shouldFallBack for the HTTP errorbut how to get actual error message from ResourceError that I don't know.Can I get exact steps to get the error like changes in the files and build the webkit,gtk etc.
Thanks & Regards, Nitin On Fri, Feb 13, 2009 at 10:50 AM, zaheer ahmad <[email protected]> wrote: > I think you need to set CURLOPT_FAILONERROR on the curl handle for the curl > to report http errors. Also in general you would want to diffferentiate how > you handle errors on mainresource vs subresources > > regards, > Zaheer > > > On Thu, Feb 12, 2009 at 9:04 PM, Nitin Walke <[email protected]> wrote: > >> Hi, >> >> Thanks for your suggestion. I added delegate method in >> FrameloaderClient::dispatchDidFailLoading for GTK, however, >> noticed that the control flow never reached there - either in case of >> successful response or for http error like server not found etc. >> Then I added some debug code in FrameloaderClient::dispatchDidFailLoading >> for GTK; and found that the control flow does not reach there. >> >> Am I missing something here? Your inputs will be appreciated. >> >> Regards, >> Nitin >> >> >> On Thu, Feb 12, 2009 at 11:55 AM, zaheer ahmad <[email protected]>wrote: >> >>> If you are using curl backend, network errors are already reported back >>> but ignored. you need to implement FrameloaderClient::dispatchDidFailLoading >>> delegate to pass it back to the application. >>> >>> regards, >>> Zaheer >>> >>> >>> On Wed, Feb 11, 2009 at 7:03 PM, Nitin Walke <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> I am new to Webkit and have developed a basic browser using Webkit GTK >>>> port on linux. >>>> I want to show error response on the browser when the HTTP request fails >>>> for some reason like >>>> bad gateway or Server error etc. Currently the browser does not show any >>>> response in case of any error. >>>> Please advise how to go about implementing the same. >>>> >>>> Thanks >>>> >>>> _______________________________________________ >>>> webkit-dev mailing list >>>> [email protected] >>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >>>> >>>> >>> >> >
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

