[webkit-help] setTimeout and Safari

Steve Conover sconover at gmail.com
Tue Sep 28 22:36:07 PDT 2010


Sigh.  Please disregard.  After an hour of troubleshooting, I sent
this email, and two minutes later realized the problem was bad js
(blush).

On Tue, Sep 28, 2010 at 10:22 PM, Steve Conover <sconover at gmail.com> wrote:
> I hope this is the right place to be asking this question.
>
> I'm using the cocoa api, and am able to load a web page in a WebView.
> However I have some javascript in the page that uses setTimeout to
> cause a function to fire 100ms into the future - but the page loads
> and ignores the setTimeout's.
>
> How do I get my setTimeout's to fire?  I suspect this has something to
> do with the Run Loop, but my experiments so far with various parts of
> the Run Loop api have been failures.
>
> Regards,
> Steve
>


More information about the webkit-help mailing list