File: csp-nonce.js

package info (click to toggle)
node-jquery 3.5.1%2Bdfsg%2B~3.5.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,712 kB
  • sloc: javascript: 34,777; php: 221; xml: 36; makefile: 15
file content (8 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
/* global startIframeTest */

jQuery( function() {
	var script = document.createElement( "script" );
	script.setAttribute( "nonce", "jquery+hardcoded+nonce" );
	script.innerHTML = "startIframeTest()";
	$( document.head ).append( script );
} );