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

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Oct 7 06:20:02 EDT 2013


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

Lukáš Fryč commented on ARQGRA-331:
-----------------------------------

Petr, without actually diving a deep into that, it seems that Sarissa doesn't actually store reference to {{XMLHttpRequest}}, it rather defines it when necessary (on IE). That explains why it works on Firefox.

But the real issue might be here: {{SCRIPT575: This method cannot be called until the send method has been called.}}
It indicates Graphene may call something what's not expected by IE to be called in that stage.

Could you please create new issue to track that down? You will need to identify where it actually fails - obtaining a stack trace.
                
> 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