nitter
Lea Verou
@LeaVerou
1 May 2016
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
L. David Baron @dbaron@w3c.social
@davidbaron
1 May 2016
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