@nativescript/core 9.0.21-next.3 → 9.0.21-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fetch/index.mjs +2 -2
- package/package.json +1 -1
package/fetch/index.mjs
CHANGED
|
@@ -459,7 +459,7 @@ try {
|
|
|
459
459
|
var request = new Request(input, init);
|
|
460
460
|
|
|
461
461
|
if (request.signal && request.signal.aborted) {
|
|
462
|
-
return reject(new
|
|
462
|
+
return reject(new DOMException("Aborted", "AbortError"));
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
var xhr = new XMLHttpRequest();
|
|
@@ -491,7 +491,7 @@ try {
|
|
|
491
491
|
};
|
|
492
492
|
|
|
493
493
|
xhr.onabort = function () {
|
|
494
|
-
reject(new
|
|
494
|
+
reject(new DOMException("Aborted", "AbortError"));
|
|
495
495
|
};
|
|
496
496
|
|
|
497
497
|
xhr.open(request.method, request.url, true);
|
package/package.json
CHANGED