blob: 2676b34728f9e3d965adb36b59f15ccf54b0c3a0 [file] [log] [blame]
// This script is executed after |scr1| and |scr2| are inserted into DOM
// before their execution (if not blocked by CSP).
if (document.getElementById('scr1')) {
document.getElementById('scr1').setAttribute('nonce', 'wrong');
}
if (document.getElementById('scr2')) {
document.getElementById('scr2').setAttribute('nonce', 'abc');
}