From 573cf13ce93779bcce108c1ef891e3f64631d06e Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Tue, 24 Oct 2017 21:25:57 +0200 Subject: [PATCH] fix(polyfill): JSON responses were not marked as ready on complete --- polyfill/XMLHttpRequest.js | 1 + 1 file changed, 1 insertion(+) diff --git a/polyfill/XMLHttpRequest.js b/polyfill/XMLHttpRequest.js index 42c987704..e889637c8 100644 --- a/polyfill/XMLHttpRequest.js +++ b/polyfill/XMLHttpRequest.js @@ -358,6 +358,7 @@ export default class XMLHttpRequest extends XMLHttpRequestEventTarget{ case 'json': this._response = resp.json() this._responseText = resp.text() + responseDataReady(); break default : this._responseText = resp.text()