https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 85bfdbfc6739dd090b0a568712713432d3aa2d51 authored by Darren Shen on 11 April 2018, 10:17:19 UTC
[css-typed-om] Support remaining inline properties.
Tip revision: 85bfdbf
report-blocked-uri-cross-origin.sub.html
<!DOCTYPE html>
<html>
<head>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <title>Cross-origin images are reported correctly</title>
    <!-- CSP headers
Content-Security-Policy: script-src 'self' 'unsafe-inline'
Content-Security-Policy-Report-Only: img-src 'none'; script-src 'self' 'unsafe-inline'; report-uri ../support/report.py?op=put&reportID=$id
-->
</head>
<body>
  <img src="http://{{domains[www1]}}:{{ports[http][0]}}/content-security-policy/support/pass.png">
  <script async defer src='../support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20%27none%27'></script>
</body>
</html>
back to top