Set status to 0 and statusText to "abort" when FakeXMLHttpRequest.abort is called

This commit is contained in:
Pavel Lishin 2013-10-29 17:06:43 -04:00
parent 12e394353a
commit e8619f762b

View File

@ -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,