Set status to 0 and statusText to "abort" when FakeXMLHttpRequest.abort is called
This commit is contained in:
parent
12e394353a
commit
e8619f762b
@ -115,6 +115,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
abort: function() {
|
||||
this.readyState = 0;
|
||||
this.status = 0;
|
||||
this.statusText = "abort";
|
||||
},
|
||||
|
||||
readyState: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user