[webkit-dev] Load finished notification

Christian Dywan christian at twotoasts.de
Tue May 20 18:36:55 PDT 2008


Am Tue, 20 May 2008 17:32:24 -0700
schrieb "Giri Rao" <giri.rao at gmail.com>:

> Hello all,
> 
> I was wondering if there is a notification in webkit that I can catch
> to reliably tell that the browser has done rendering.  Right now I am
> hooked into load_finished, I am noticing that at times, load_finished
> is called before rendering is completed.  Any pointers is appreciated.
> 
> Thanks
> Giri

Unfortunately you did not indicate what port you are talking about. So
I am just guessing 'gtk' and answering with that assumption.

The signals of WebKitWebView as well as WebKitWebFrame are sort of
wrong. There is a patch pending in the bug tracker that is suppposed to
fix this. Meanwhile, instead of WebKitWebView::load-finished you want to
use WebKitWebFrame::load-done to actually be notified about the end of
the page load. Note that there is no error handling and failing loads
will usually fail without emitting a signal.

Yours,
    Christian


More information about the webkit-dev mailing list