[
https://issues.jboss.org/browse/ARQAJO-90?page=com.atlassian.jira.plugin....
]
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