Beware: When using xhr.responseType = "json", if the response is not valid JSON you will just silently get xhr.response = null and NO error!
6
47
80
Replying to @LeaVerou
@LeaVerou The authors of the Gecko code didn't seem so happy about it either: hg.mozilla.org/mozilla-centr…

May 1, 2016 · 4:12 AM UTC

1