jquery/test/unit
Michał Gołębiowski-Owczarek 7298e04fae Tests: Fix tests for not auto-executing scripts without dataType
Two issues are fixed in testing for responses with a script Content-Type not
getting auto-executed unless an explicit `dataType: "script"` is provided:
* the test is now using a correct "text/javascript" Content-Type; it was using
  "text/html" until now which doesn't really check if the fix works
* the Node.js based version of the tests didn't account for an empty `header`
  query string parameter

Closes gh-4824
Ref gh-2432
Ref gh-2588
Ref 39cdb8c9aa

(cherry picked from commit d38528b17a)
2021-01-11 18:41:36 +01:00
..
ajax.js Tests: Fix tests for not auto-executing scripts without dataType 2021-01-11 18:41:36 +01:00
animation.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
attributes.js Tests: Remove obsolete jQuery data tests 2020-05-18 18:51:34 +02:00
basic.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
callbacks.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
core.js Tests: Skip the jQuery.parseXML error reporting test in Legacy Edge 2020-12-08 14:27:05 +01:00
css.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
data.js Tests: Remove obsolete jQuery data tests 2020-05-18 18:51:34 +02:00
deferred.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
deprecated.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
dimensions.js Dimensions: Modify reliableTrDimensions support test to account for FF 2021-01-11 11:56:38 -05:00
effects.js Tests: Remove obsolete jQuery data tests 2020-05-18 18:51:34 +02:00
event.js Event: Make focus re-triggering not focus the original element back 2020-12-07 21:06:44 +01:00
exports.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
manipulation.js Tests: Workaround failures in recent XSS tests in iOS 8 - 12 2020-04-30 21:26:18 +02:00
offset.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
queue.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
ready.js Tests: Pass a number of necessary done() calls to assert.async() 2020-03-02 22:18:10 +01:00
selector.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
serialize.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
support.js Dimensions: Modify reliableTrDimensions support test to account for FF 2021-01-11 11:56:38 -05:00
traversing.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
tween.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
wrap.js Tests: Remove remaining obsolete jQuery.cache references 2020-05-18 18:53:26 +02:00