Fix unit test freeze in IE.

This commit is contained in:
Tobie Langel 2008-05-28 01:51:44 +02:00
parent b31f642e64
commit 32628d41cd
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,5 @@
* Fix unit test freeze in IE. (Tobie Langel)
* Ensure Hash does not return keys from the prototype chain (e.g., constructor, valueOf, toString). (kangax)
* Fix toString/valueOf sharing same method reference via closure in Class#addMethods. Use plain property assignment, since Object.extend fails to enumerate over toString/valueOf. (kangax)

View File

@ -86,9 +86,7 @@ class IEBrowser < Browser
ie = WIN32OLE.new('InternetExplorer.Application')
ie.visible = true
ie.Navigate(url)
while ie.ReadyState != 4 do
sleep(1)
end
sleep 0.01 while ie.Busy || ie.ReadyState != 4
end
end