[Webtest] [webtest][JIRA] Created: (WT-347) dialog steps don't work when dialogs are started from setTimeout

Marc Guillemot (JIRA) Marc Guillemot (JIRA)" <noreply@canoo.com
Mon, 12 Nov 2007 11:27:13 +0100 (CET)


dialog steps don't work when dialogs are started from setTimeout
----------------------------------------------------------------

         Key: WT-347
         URL: http://webtest-community.canoo.com/jira/browse/WT-347
     Project: WebTest
        Type: Bug

    Reporter: Marc Guillemot
 Assigned to: Marc Guillemot 


Dialogs steps don't work when the js alert/prompt/confirm are called from a setTimeout/setInterval/async XMLHttpRequest. The reason is that the configured callbacks are called from HtmlUnit in a different thread where the ThreadLocalVarialbe Context is not defined what causes NPE.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira