http-browserify
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -58,2 +58,6 @@ var Stream = require('stream'); | ||
xhr.onreadystatechange = function () { | ||
// Fix for IE9 bug | ||
// SCRIPT575: Could not complete the operation due to error c00c023f | ||
// It happens when a request is aborted, calling the success callback anyway with readyState === 4 | ||
if (xhr.__aborted) return; | ||
res.handle(xhr); | ||
@@ -82,2 +86,3 @@ }; | ||
Request.prototype.destroy = function (s) { | ||
this.xhr.__aborted = true; | ||
this.xhr.abort(); | ||
@@ -84,0 +89,0 @@ this.emit('close'); |
{ | ||
"name": "http-browserify", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "http module compatability for browserify", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11708
790429
54