Skip to content

Commit 46c7451

Browse files
Check origin trial instead of feature flag for CSP hashes
Enabled-by-default-reason: launching Bug: 392657736, 442791441 Change-Id: If42c202656e2f7ea63427c7a610f480076696070 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6881831 Reviewed-by: Camille Lamy <[email protected]> Reviewed-by: Kenichi Ishibashi <[email protected]> Commit-Queue: Carlos IL <[email protected]> Reviewed-by: Mustafa Emre Acer <[email protected]> Cr-Commit-Position: refs/heads/main@{#1510549}
1 parent 7fdc856 commit 46c7451

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content-security-policy/reporting/report-multiple-violations-02.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
</head>
1212
<body>
1313
<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);
1618
</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>
1820
</body>
1921
</html>

0 commit comments

Comments
 (0)