Skip to content

Why is abort() called at the top of open()? #156

Open
@ahicox

Description

@ahicox

Line 157 in XMLHTTPRequest.js:

this.open = function(method, url, async, user, password) { this.abort(); errorFlag = false;

This causes all calls to open(), to immediately invoke the 'abort' event on the XHR object. Presuming you are catching the 'abort' event, this will of course, abort every single call you try to make?

am I missing something here?
This basically breaks open()?

Did someone break this on purpose because the module is deprecated or something?
just commenting that out so I can get along with what I was trying to do, but if it's broke on purpose someone should update README.md.

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