summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/support/inject-image.js
blob: cc5b60079b4bab8463d8f455954703d1403f4a87 (plain)
1
2
3
4
5
// This script block will trigger a violation report.
var i = document.createElement('img');
i.src = '/content-security-policy/support/fail.png';
document.body.appendChild(i);
log("TEST COMPLETE");