[arquillian-issues] [JBoss JIRA] (ARQGRA-432) guardAjax does not work with XHR2 requests

Juraj Húska (JIRA) issues at jboss.org
Fri Mar 28 08:52:12 EDT 2014


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

Juraj Húska commented on ARQGRA-432:
------------------------------------

I have pushed test case for this [here|https://github.com/jhuska/arquillian-graphene/tree/ARQGRA-432].

* The {{.html}} page reproducing the issue, [here|https://github.com/jhuska/arquillian-graphene/blob/14a778b6f7720df761969cc630a59748f25a46f2/ftest/src/test/resources/org/jboss/arquillian/graphene/ftest/guard/xhr2.html].
* test, [here|https://github.com/jhuska/arquillian-graphene/blob/14a778b6f7720df761969cc630a59748f25a46f2/ftest/src/test/java/org/jboss/arquillian/graphene/ftest/guard/TestXHR2.java]
                
> guardAjax does not work with XHR2 requests
> ------------------------------------------
>
>                 Key: ARQGRA-432
>                 URL: https://issues.jboss.org/browse/ARQGRA-432
>             Project: Arquillian Graphene
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.2.Final
>            Reporter: Juraj Húska
>
> {{guardAjax}} does not work correctly with XHR2 requests. The request is guarded correctly, but the callback once it is completed is not called.
> The problem seems to be with {{onload}} (since XHR2) vs. {{onreadystatechange}} (since XHR1) callbacks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list