sdesalas / trifleJS

Headless automation for Internet Explorer
http://triflejs.org/
MIT License
825 stars 51 forks source link

window.setTimeout never triggers after 3s #44

Open juliensobrier opened 9 years ago

juliensobrier commented 9 years ago

When the page is loaded, I set up a timeout (window.setTimeout). For timeout values of 3s or more, the timeout event never trigger.

With a window.setInterval set to 1s, it stop triggering after 2s.

The work around is to create a window.setTimeout every 1s or so.

sdesalas commented 9 years ago

HI @juliensobrier thanks will take a look.

Do you have some example js code to replicate? Just wondering wether you are calling .setTimeout() in IE context or in V8 context.

Ta