jquery/src
Michał Gołębiowski-Owczarek 025da4dd34
Ajax: Don't auto-execute scripts unless dataType provided
PR gh-2588 made jQuery stop auto-execute cross-domain scripts unless
`dataType: "script"` was explicitly provided; this change landed in jQuery
3.0.0. This change extends that logic same-domain scripts as well.

After this change, to request a script under a provided URL to be evaluated,
you need to provide `dataType: "script` in `jQuery.ajax` options or to use
`jQuery.getScript`.

Fixes gh-4822
Closes gh-4825
Ref gh-2432
Ref gh-2588
2021-01-26 15:58:29 +01:00
..
ajax Ajax: Don't auto-execute scripts unless dataType provided 2021-01-26 15:58:29 +01:00
attributes Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
core Core: Report browser errors in parseXML 2020-12-08 11:22:21 +01:00
css Dimensions: Add offset prop fallback to FF for unreliable TR dimensions 2021-01-11 11:56:08 -05:00
data Build: Update eslint-config-jquery, fix linting violations 2020-05-18 22:25:49 +02:00
deferred Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
deprecated Build: Correct code indentations based on jQuery Style Guide 2020-05-05 10:49:27 +02:00
effects Build: Correct code indentations based on jQuery Style Guide 2020-05-05 10:49:27 +02:00
event Build:Event: Make sure all source modules' exports are used (#4648) 2020-06-02 13:45:08 +02:00
exports Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
manipulation Manipulation: Respect script crossorigin attribute in DOM manipulation 2020-09-22 17:30:18 +02:00
queue Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
selector Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
traversing Build: Update eslint-config-jquery, fix linting violations 2020-05-18 22:25:49 +02:00
var Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
.eslintrc.json Build: Make the import/no-unused-modules ESLint rule work in WebStorm 2020-09-02 17:24:55 +02:00
ajax.js Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
attributes.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
callbacks.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
core.js Core: Make jQuery.isXMLDoc accept falsy input 2020-12-07 21:09:15 +01:00
css.js Dimensions: Add offset prop fallback to FF for unreliable TR dimensions 2021-01-11 11:56:08 -05:00
data.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
deferred.js Deferred: Rename master to primary 2021-01-12 20:56:51 +01:00
deprecated.js Deprecated: Remove jQuery.trim 2020-05-18 23:20:38 +02:00
dimensions.js Build: Correct code indentations based on jQuery Style Guide 2020-05-05 10:49:27 +02:00
effects.js Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
event.js Event: Make focus re-triggering not focus the original element back 2020-12-07 20:28:44 +01:00
jquery.js Build:Event: Make sure all source modules' exports are used (#4648) 2020-06-02 13:45:08 +02:00
manipulation.js Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
offset.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
queue.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
selector.js Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
serialize.js Build: Correct code indentations based on jQuery Style Guide 2020-05-05 10:49:27 +02:00
traversing.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
wrap.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
wrapper.js Docs: Change JS Foundation mentions to OpenJS Foundation 2020-05-18 18:41:32 +02:00