[
http://jira.openqa.org/browse/WTR-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charley Baker closed WTR-192.
-----------------------------
Fixed for 1.6.6, closing.
> wait needs timeouts (sample code provided)
> ------------------------------------------
>
> Key: WTR-192
> URL: http://jira.openqa.org/browse/WTR-192
> Project: Watir
> Issue Type: Bug
> Components: Wait
> Affects Versions: 1.5.3
> Reporter: Charley Baker
> Assignee: Charley Baker
> Priority: Major
> Fix For: 1.6.6
>
>
> There are a few loops inside wait that need to have timeouts added.
> while @ie.busy # XXX need to add time out
> sleep a_moment
> end
> until @ie.readyState == READYSTATE_COMPLETE do # need time out
> sleep a_moment
> end
> until doc.readyState == "complete" do # need time out
> sleep a_moment
> end
> Otherwise if ie doesn't return the right value Watir hangs.
> Noticed this on yahoo's finance page when streaming quotes are turned on:
> http://finance.yahoo.com/q?s=ROST
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development