https://github.com/web-platform-tests/wpt
Raw File
Tip revision: cb0c9da3fc19b0e553036b07d304b264c40386eb authored by Mike Pennisi on 07 September 2018, 01:57:53 UTC
Log suspicious test declarations
Tip revision: cb0c9da
report-uri-multiple-reversed.html
<!DOCTYPE html>
<html>
<head>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <title>Content-Security-Policy-Report-Only violation report is sent even when resource is blocked by actual policy.</title>
    <!-- CSP headers
         Content-Security-Policy-Report-Only: img-src http://*; report-uri ../support/report.py?op=put&reportID={{$id}}
         Content-Security-Policy: img-src http://*
         -->
</head>
<body>
    <img src="ftp://blah.test" />
    <script async defer src='../support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20http%3A%2F%2F%2A'></script>
</body>
</html>
back to top