diff options
author | Dallas Fraser <dallas.fraser.waterloo@gmail.com> | 2020-08-25 15:41:06 -0400 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-08-25 21:43:02 +0200 |
commit | 3bae54aa50b7485b1f18501dff038a61507012a5 (patch) | |
tree | b3785d6ed2799dce2b2a124094ca16a3e1aaa2c7 /build | |
parent | beea433d3325053334f1073bb2b65fb5c28b910b (diff) | |
download | jquery-3bae54aa50b7485b1f18501dff038a61507012a5.tar.gz jquery-3bae54aa50b7485b1f18501dff038a61507012a5.zip |
Ajax: Execute JSONP error script responses
Issue gh-4379 was meant to be a bug fix but the JSONP case is a bit special:
under the hood it's a script but it simulates JSON responses in an environment
without a CORS setup and sending JSON payloads on error responses is quite
typical there.
This commit makes JSONP error responses still execute the payload. The regular
script error responses continue to be skipped.
Fixes gh-4771
Closes gh-4773
(cherry picked from commit a1e619b03a557b47c3e26a5e74af12b63a0d5e73)
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions