[webkit-help] setTimeout and Safari

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


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