jquery/test/data
Sean Robinson da3dd85b63 Ajax: Do not execute scripts for unsuccessful HTTP responses
The script transport used to evaluate fetched script sources which is
undesirable for unsuccessful HTTP responses. This is different to other data
types where such a convention was fine (e.g. in case of JSON).

(cherry picked from 50871a5a85)

Fixes gh-4250
Fixes gh-4655
Closes gh-4379
2020-04-06 22:33:56 +02:00
..
ajax Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
core Core: Fire iframe script in its context, add doc param in globalEval 2020-02-10 19:20:50 +01:00
css CSS: Correctly detect scrollbox support with non-default zoom 2018-05-07 09:28:18 -04:00
data Tests: Refactor testIframe() to make it DRYer and more consistent 2016-04-11 13:32:51 -04:00
dimensions Tests: Refactor testIframe() to make it DRYer and more consistent 2016-04-11 13:32:51 -04:00
event Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
manipulation Core: Fire iframe script in its context, add doc param in globalEval 2020-02-10 19:20:50 +01:00
offset Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
selector Tests: Refactor testIframe() to make it DRYer and more consistent 2016-04-11 13:32:51 -04:00
support Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
1x1.jpg Fixes #11426: getting the responseText of an xhr should be tried/caught because of IE's inability to give access to binary data. Unit test added. 2012-03-07 15:39:39 +01:00
1x1.svg Traversing: $.fn.contents() support for object 2018-05-14 13:41:42 -04:00
badcall.js Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
badjson.js Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
cleanScript.html Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
csp-nonce-external.html Core: Preserve CSP nonce on scripts with src attribute in DOM manipulation 2019-03-25 18:14:24 +01:00
csp-nonce-external.js Core: Preserve CSP nonce on scripts with src attribute in DOM manipulation 2019-03-25 18:14:24 +01:00
csp-nonce-globaleval.html Core: Support passing nonce through jQuery.globalEval 2019-01-21 18:42:39 +01:00
csp-nonce-globaleval.js Core: Support passing nonce through jQuery.globalEval 2019-01-21 18:42:39 +01:00
csp-nonce.html Core: Preserve CSP nonce on scripts in DOM manipulation 2019-01-14 19:29:54 +01:00
csp-nonce.js Core: Preserve CSP nonce on scripts in DOM manipulation 2019-01-14 19:29:54 +01:00
csp.include.html Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
dashboard.xml Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
frame.html Traversing: $.fn.contents() support for object 2018-05-14 13:41:42 -04:00
iframe.html Fix indentation in /speed and /test dirs, closes gh-780. 2012-05-18 13:28:50 -04:00
iframeTest.js Tests: Improve offset test setup and labels 2017-04-24 21:44:51 -04:00
inner_module.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
inner_nomodule.js Build: Update QUnit from 1.23.1 to 2.9.2 2019-03-04 20:10:21 +01:00
jquery-1.9.1.js Event: fix incorrect test 2015-10-12 18:37:04 +03:00
json_obj.js Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
mock.php Ajax: Do not execute scripts for unsuccessful HTTP responses 2020-04-06 22:33:56 +02:00
module.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
name.html Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
nomodule.js Build: Update QUnit from 1.23.1 to 2.9.2 2019-03-04 20:10:21 +01:00
qunit-fixture.html Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
readywait.html Tests: move readywait to an iframe test 2017-03-20 11:37:15 -04:00
test2.html Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
test3.html Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapse 2016-09-15 10:40:27 -04:00
test.include.html Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
testinit-jsdom.js Build: Make Karma work in AMD mode 2020-01-21 13:26:47 +01:00
testinit.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
testrunner.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
testsuite.css Dimensions: fall back to offsetWidth/Height for border-box in IE 2018-11-27 14:28:59 -05:00
text.txt Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
with_fries.xml Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00