Hi Akhil

Yes, that's what I'm doing now, I'm waiting a couple of seconds for the 
rendering to complete, but there are some sites that use Javascript to do 
subsequent content loading, and I don't get a LOAD_FINISHED for that, and it 
seems to be taking a few seconds for that Javascript to complete it's network 
I/O, so I don't have anyway to know how long any JS-enabled site might take to 
load additional content (and to render it).

I was hoping for some kind of event to let me know the page was "complete" from 
a rendering standpoint, but that may be asking to much to have an event like 
this and make sure it is accurate for ANY website.

Randy


On Apr 4, 2010, at 8:56 PM, akhil Gupta wrote:

> There is no such RENDER_COMPLETE event from webkit.
> But Rendering takes few micrseconds So, after LOAD_FINISHED you can set a 
> timeout for a second & do your respective opeartion.
> 
> On Sun, Apr 4, 2010 at 7:30 PM, <[email protected]> wrote:
> Send webkit-help mailing list submissions to
>        [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> or, via email, send a message with subject or body 'help' to
>        [email protected]
> 
> You can reach the person managing the list at
>        [email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of webkit-help digest..."
> 
> 
> Today's Topics:
> 
>   1. render-complete event (Randy Turner)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 3 Apr 2010 18:08:04 -0700
> From: Randy Turner <[email protected]>
> To: [email protected]
> Subject: [webkit-help] render-complete event
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> Hi,
> 
> I have been working with webkit and am testing on Linux (Ubuntu 9.10) - I'm 
> working on capturing events from WebKit and have successfully captured events 
> such as LOAD_FINISHED, which apparently tells me that WebKit has loaded all 
> the contents of the page necessary to begin rendering it.
> 
> However, I also need to know when all the rendering for a page is complete 
> (i.e., the page has rendered and all the content is viewable within the 
> browser). Preferably, a "RENDER COMPLETE" event would tell me when all the 
> HTML has been rendered, as well as any javascript has completed rendering.  
> I'm assuming this status is available because some browsers have "spinning 
> images" that stop spinning when all the rendering for a page is complete.
> 
> Is there such an event, and if so, which API call do I use to listen for it?
> 
> Thanks a lot!
> Randy
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> webkit-help mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> 
> 
> End of webkit-help Digest, Vol 10, Issue 4
> ******************************************
> 
> _______________________________________________
> webkit-help mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to