]> source.dussan.org Git - jquery.git/commit
Make sure that a parsererror is thrown whenever malformed JSON comes back from a...
authorjeresig <jeresig@gmail.com>
Thu, 7 Jan 2010 17:21:58 +0000 (12:21 -0500)
committerjeresig <jeresig@gmail.com>
Thu, 7 Jan 2010 17:21:58 +0000 (12:21 -0500)
commit308d6cdad023da190ace2a698ee4815ed8dad9c5
treeaf610d55b1df2c945dc977e4a10d9dd4810cb730
parentc14fa516ae5525f93af562910d22f0a836ebdde3
Make sure that a parsererror is thrown whenever malformed JSON comes back from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support.
src/ajax.js
test/data/badjson.js [new file with mode: 0644]
test/unit/ajax.js