[arquillian-issues] [JBoss JIRA] Commented: (ARQAJO-90) XHR Guard not reliable

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Sep 6 09:39:27 EDT 2011


    [ https://issues.jboss.org/browse/ARQAJO-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626461#comment-12626461 ] 

Lukáš Fryč commented on ARQAJO-90:
----------------------------------

Pull request also changes order of
* finishing request: {{Ajocado.XHRWrapperInjection.onreadystatechangeCallback.call(this);}}
* setting up RequestGuard state to 'XHR': 
{code}
if (this.readyState == 4) {
  Ajocado.Page.RequestGuard.setRequestDone("XHR");

}
{code}

This satisfies that XHR flag will not be set before request is completed.

> XHR Guard not reliable
> ----------------------
>
>                 Key: ARQAJO-90
>                 URL: https://issues.jboss.org/browse/ARQAJO-90
>             Project: Arquillian Ajocado
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.0.CR1
>            Reporter: Jozef Hartinger
>            Assignee: Jozef Hartinger
>            Priority: Critical
>             Fix For: 1.0.0.CR2
>
>
> Calling waitForXhr(selenium) sometimes fails with "Request type 'XHR' was expected, but type 'NONE' was done instead" even though an XHR request is executed in the meantime.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the arquillian-issues mailing list