Skip to content

XMLHttpRequest readyState not available as a static property #67

Description

@guanlun

After window.XMLHttpRequest is replaced by the FakeXMLHttpRequest, accessing the readyState constants returns undefined (e.g. XMLHttpRequest.DONE => undefined).

It is available on the instances of XMLHttpRequest, or on FakeXMLHttpRequest, but any code that relies on XMLHttpRequest.DONE will be broken.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions