blob: ab0e22d82f8dc654e9804a0058a013712000006d [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
function addImage() {
let img = document.createElement('img');
img.onload = () => top.postMessage('img loaded', '*');
img.onerror = () => top.postMessage('img blocked', '*');
img.src = '/content-security-policy/support/pass.png';
document.body.appendChild(img);
}
</script>
<body onpageshow="addImage();">
</body>
</html>