blob: 72e604a0196db6b158baa2912f2d07f82e484a6f [file] [log] [blame]
<?php
header("Content-Security-Policy-Report-Only: script-src 'unsafe-inline' 'self'; report-uri resources/does-not-exist");
?>
<!DOCTYPE html>
<html>
<body>
<p>This tests that multiple violations on a page trigger multiple reports
if and only if the violations are distinct. This test passes if only one.
PingLoader callback is visible in the output.</p>
<script>
for (var i = 0; i< 5; i++)
setTimeout("alert('PASS: setTimeout #" + i + " executed.');", 0);
</script>
</body>
</html>