[arquillian-issues] [JBoss JIRA] (ARQGRA-331) Graphene guards fails when page stores reference to XMLHttpRequest before Graphene rewrites them

Petr Andreev (JIRA) jira-events at lists.jboss.org
Thu Oct 10 11:04:03 EDT 2013


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

Petr Andreev commented on ARQGRA-331:
-------------------------------------

Hi Lukáš, it took a while to find out what`s wrong, but i got it- it`s all about the strange windows host objects which doesn`t comply (and actually don`t have to ) to the spec. I opened an issue ARQGRA-397 with possible patches. I`m testing on Win7x64 with IE9(comp IE7 since RF3 require it) , FF  ESR 24.0, Chrome 29.0.1547.66 m the  AJAX things look good there. Graphene tests are also successful. Can you please verify it? Thank you. 
                
> Graphene guards fails when page stores reference to XMLHttpRequest before Graphene rewrites them
> ------------------------------------------------------------------------------------------------
>
>                 Key: ARQGRA-331
>                 URL: https://issues.jboss.org/browse/ARQGRA-331
>             Project: Arquillian Graphene
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0.Alpha4
>            Reporter: Oliver Kišš
>            Assignee: Lukáš Fryč
>            Priority: Critical
>             Fix For: 2.1-Tracking
>
>
> Graphene guards do not work correctly in the [AngularJS Kitchensink quickstart|https://github.com/jboss-jdf/jboss-as-quickstart/tree/master/kitchensink-angularjs].
> The registration form sends a XHR POST request on submit, but this is not recognized and clicking on the submit button with {{guardAjax(registerButton).click()}} throws an exception: "{{RequestGuardException: Request type 'XHR' was expected, but type 'NONE' was done instead}}".

--
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