File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
content-security-policy/reporting Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11
11
</ head >
12
12
< body >
13
13
< script >
14
- for ( var i = 0 ; i < 5 ; i ++ )
15
- setTimeout ( "document.body.innerHTML += ('<p>PASS: setTimeout #" + i + " executed.');" , 0 ) ;
14
+ for ( var i = 0 ; i < 5 ; i ++ ) {
15
+ setTimeout ( "document.body.innerHTML += ('<p>PASS: setTimeout executed.');" , 0 ) ;
16
+ }
17
+ setTimeout ( "document.body.innerHTML += ('<p>PASS: different setTimeout executed.');" , 0 ) ;
16
18
</ script >
17
- < script async defer src ='../support/checkReport.sub.js?reportField=violated-directive&reportValue=script-src%20%27unsafe-inline%27%20%27self%27&reportCount=1 '> </ script >
19
+ < script async defer src ='../support/checkReport.sub.js?reportField=violated-directive&reportValue=script-src%20%27unsafe-inline%27%20%27self%27&reportCount=2 '> </ script >
18
20
</ body >
19
21
</ html >
You can’t perform that action at this time.
0 commit comments