From: SourceForge.net <no...@so...> - 2003-07-18 13:04:19
|
Bugs item #675597, was opened at 2003-01-27 13:16 Message generated for change (Comment added) made by mbowler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=675597&group_id=47038 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Mike Bresnahan (gudujarlson) Assigned to: Mike Bowler (mbowler) Summary: window.setTimeout not defined Initial Comment: It appears window.setTimeout() has not been implemented in HtmlUnit 1.1. See the following HTML and stacktrace. <html> <body> <script language="JavaScript"> window.setTimeout('alert("Yo!")',0); </script> </body> </html> com.gargoylesoftware.htmlunit.ScriptException: undefined is not a function. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngin e.execute(JavaScriptEngine.java:162) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeS criptTagsIfNeeded(HtmlPage.java:748) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize (HtmlPage.java:102) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:359) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:238) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:180) at Test.main(Test.java:16) I've done some research on the topic and it appears that Rhino does not support the function and that it is up to Rhino's container to handle it. Note that the page works fine in IE 5.5 and Netscape 4.7. ---------------------------------------------------------------------- >Comment By: Mike Bowler (mbowler) Date: 2003-07-18 09:04 Message: Logged In: YES user_id=46756 Fixed. ---------------------------------------------------------------------- Comment By: Brad Clarke (yourgod) Date: 2003-02-19 13:42 Message: Logged In: YES user_id=257129 We're having the same problem. Has there been any progress on this? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=675597&group_id=47038 |