Test for correct jqXHR object #6

rwaldron opened this Issue Jun 14, 2011 · 0 comments


None yet
1 participant

rwaldron commented Jun 14, 2011

Also about test-units
There are 2 test that failed

1.Non-Native Streams are [object XMLHttpRequest]
Expected: "[object XMLHttpRequest]"
Result: "[object Object]"
2.Non-Native Streams are [object XMLHttpRequest]
Expected:"[object XMLHttpRequest]"
Result: "[object Object]"
Are you sure that they should be [object XMLHttpRequest] ?

because, from JQuery docs :
"The jqXHR Object

The jQuery XMLHttpRequest (jqXHR) object returned by $.ajax() as of jQuery 1.5 is a superset of the browser's native XMLHttpRequest object. For example, it contains responseText and responseXML properties, as well as a getResponseHeader() method. When the transport mechanism is something other than XMLHttpRequest (for example, a script tag for a JSONP request) the jqXHR object simulates native XHR functionality where possible.

As of jQuery 1.5.1, the jqXHR object also contains the overrideMimeType method.

rwaldron closed this in 9752ef5 Jun 14, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment