Skip to content

Test for correct jqXHR object #6

@rwaldron

Description

@rwaldron

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions