aboutsummaryrefslogtreecommitdiffstats
path: root/test/jquery.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-01-14 19:29:54 +0100
committerGitHub <noreply@github.com>2019-01-14 19:29:54 +0100
commitc7c2855ed13f23322c4064407c1ed84561b95738 (patch)
tree0bae25a4dd554f3066fdc1df65ecf6ea43d81752 /test/jquery.js
parent9cb162f6b62b6d4403060a0f0d2065d3ae96bbcc (diff)
downloadjquery-c7c2855ed13f23322c4064407c1ed84561b95738.tar.gz
jquery-c7c2855ed13f23322c4064407c1ed84561b95738.zip
Core: Preserve CSP nonce on scripts in DOM manipulation
Fixes gh-3541 Closes gh-4269
Diffstat (limited to 'test/jquery.js')
-rw-r--r--test/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/jquery.js b/test/jquery.js
index 8ba139e6b..6b1aef42f 100644
--- a/test/jquery.js
+++ b/test/jquery.js
@@ -54,7 +54,7 @@
// Otherwise, load synchronously
} else {
- document.write( "<script id='jquery-js' src='" + parentUrl + src + "'><\x2Fscript>" );
+ document.write( "<script id='jquery-js' nonce='jquery+hardcoded+nonce' src='" + parentUrl + src + "'><\x2Fscript>" );
}
} )();