blob: c80aeb46d1ad8f4db55558b729642d26aa2334b2 [file] [log] [blame]
<script>
window.onload = function() {
var img = document.createElement('img');
img.src = 'http://example.test:8080/security/resources/compass.jpg';
img.srcset = '';
img.addEventListener('load', function () {
if (window.opener)
window.opener.postMessage('done', '*');
});
document.body.appendChild(img);
};
</script>