[webkit-help] webkit-help Digest, Vol 10, Issue 4
Randy Turner
rturner at amalfisystems.com
Sun Apr 4 21:07:32 PDT 2010
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, <webkit-help-request at lists.webkit.org> wrote:
> Send webkit-help mailing list submissions to
> webkit-help at lists.webkit.org
>
> 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
> webkit-help-request at lists.webkit.org
>
> You can reach the person managing the list at
> webkit-help-owner at lists.webkit.org
>
> 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 <rturner at amalfisystems.com>
> To: webkit-help at lists.webkit.org
> Subject: [webkit-help] render-complete event
> Message-ID: <8EC00299-3365-496E-8F24-BFC5492F4525 at amalfisystems.com>
> 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
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
>
> End of webkit-help Digest, Vol 10, Issue 4
> ******************************************
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100404/50440253/attachment.html>
More information about the webkit-help
mailing list