https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d56e1a8e1d3a6661b4c0ba56b67d48338426e3c9 authored by Ms2ger on 02 October 2018, 12:50:48 UTC
Refactor drawimage_svg_image_1.html.
Tip revision: d56e1a8
report-uri-from-javascript.html
<!DOCTYPE html>
<html>
<head>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <title>Violation report is sent from javascript resource.</title>
    <!-- CSP headers
         Content-Security-Policy: img-src 'none'; report-uri ../support/report.py?op=put&reportID={{$id}}
         -->
</head>
<body>
    <script src="../support/inject-image.js"></script>
    <script async defer src='../support/checkReport.sub.js?reportField=violated-directive&reportValue=img-src%20%27none%27'></script>
</body>
</html>
back to top