jquery/test/unit
Michał Gołębiowski-Owczarek 992a1911d0
Ajax: Don't treat array data as binary
PR gh-5197 started treating all non-string non-plain-object
`data` values as binary. However, `jQuery.ajax` also supports
arrays as values of `data`. This change makes regular arrays
no longer be considered binary data.

Surprisingly, we had no tests for array `data` values; otherwise,
we'd detect the issue earlier. This change also adds
a few such missing tests.

Closes gh-5203
Ref gh-5197
2023-03-21 00:36:00 +01:00
..
ajax.js Ajax: Don't treat array data as binary 2023-03-21 00:36:00 +01:00
animation.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
attributes.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
basic.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
callbacks.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
core.js Selector: Backport jQuery selection context logic to selector-native 2023-02-13 18:34:41 +01:00
css.js Build: Run GitHub Action browser tests on Playwright WebKit 2023-01-23 23:49:44 +01:00
data.js Docs: Fix incorrect trac-NUMBER references 2022-01-12 23:23:42 +01:00
deferred.js Deferred: Rename getStackHook to getErrorHook 2023-03-14 22:32:45 +01:00
deprecated.js Tests: Test AJAX deprecated event aliases properly 2023-03-15 11:44:08 +01:00
dimensions.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
effects.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
event.js Docs: Replace #NUMBER Trac issue references with trac-NUMBER 2022-01-04 16:27:18 +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 Selector:Manipulation: Fix DOM manip within template contents 2022-11-14 23:17:23 +01:00
offset.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
queue.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
ready.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
selector.js Selector: Backport jQuery selection context logic to selector-native 2023-02-13 18:34:41 +01:00
serialize.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
support.js Selector: Stop relying on CSS.supports( "selector(...)" ) 2023-02-14 10:11:40 +01:00
traversing.js Selector: Backport jQuery selection context logic to selector-native 2023-02-13 18:34:41 +01:00
tween.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
wrap.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00