jquery/test/unit
Michał Gołębiowski-Owczarek 4250b62878
Attributes: Don't stringify attributes in the setter
Stringifying attributes in the setter was needed for IE <=9 but it breaks
trusted types enforcement when setting a script `src` attribute.

Note that this doesn't mean script execution works. Since jQuery disables all
scripts by changing their type and then executes them by creating fresh script
tags with proper `src` & possibly other attributes, this unwraps any trusted
`src` wrappers, making the script not execute under strict CSP settings.
We might try to fix it in the future in a separate change.

Fixes gh-4948
Closes gh-4949
2021-11-01 18:10:23 +01:00
..
ajax.js Ajax: Don't auto-execute scripts unless dataType provided 2021-01-26 15:58:29 +01:00
animation.js Build: Update Sinon from 2.3.7 to 7.3.1, other updates 2019-04-04 16:53:38 +02:00
attributes.js Attributes: Don't stringify attributes in the setter 2021-11-01 18:10:23 +01:00
basic.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:49:29 +01:00
callbacks.js Build:Tests: Fix custom build tests, verify on Travis 2020-01-07 23:59:08 +01:00
core.js Core: Report browser errors in parseXML 2020-12-08 11:22:21 +01:00
css.js CSS: Trim whitespace surrounding CSS Custom Properties values 2021-09-23 13:35:18 +02:00
data.js Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) 2020-09-22 17:49:28 +02:00
deferred.js Build:Tests: Fix custom build tests, verify on Travis 2020-01-07 23:59:08 +01:00
deprecated.js Deprecated: Remove jQuery.trim 2020-05-18 23:20:38 +02:00
dimensions.js Dimensions: Add offset prop fallback to FF for unreliable TR dimensions 2021-01-11 11:56:08 -05: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: Don't break focus triggering after .on(focus).off(focus) 2021-05-10 18:59:14 +02:00
exports.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
manipulation.js Core:Manipulation: Add basic TrustedHTML support 2021-09-30 16:00:24 +02:00
offset.js Build: Rename master to main across the repository 2021-02-05 22:00:56 +01:00
queue.js Build:Tests: Fix custom build tests, verify on Travis 2020-01-07 23:59:08 +01:00
ready.js Tests: Pass a number of necessary done() calls to assert.async() 2020-03-02 22:15:06 +01:00
selector.js Tests: Make more tests run natively in Chrome & Firefox 2021-04-13 22:11:45 +02:00
serialize.js Build:Tests: Fix custom build tests, verify on Travis 2020-01-07 23:59:08 +01:00
support.js Dimensions: Add offset prop fallback to FF for unreliable TR dimensions 2021-01-11 11:56:08 -05:00
traversing.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:49:29 +01:00
tween.js Build: Update Sinon from 2.3.7 to 7.3.1, other updates 2019-04-04 16:53:38 +02:00
wrap.js Tests: Remove remaining obsolete jQuery.cache references 2020-05-18 18:43:01 +02:00