jquery/test/data/csp-nonce.js

9 lines
244 B
JavaScript
Raw Normal View History

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