[webkit-dev] How to cancel a resource request

Jaroslav Gresula jgresula.LEAVE-THIS-OUT at gmail.com
Fri Oct 23 06:51:33 PDT 2009

zaheer ahmad wrote:
> hi,
> ResourceLoader has a cancel api. so i think you can do the following
> add addtl parameter to dispatchDidReceiveResponse to indicate if you should
> cancel the resp
> and do a loader->cancel() based on that.

I don't like the idea of modifying FrameLoaderClient since it is a
standard WebKit interface. My idea was that it could be somehow done
just from within my FrameLoaderClient implementation (without altering
WebKit code).

Thanks anyway,

More information about the webkit-dev mailing list