<script>
if (opener) {
opener.postMessage('trololo', '*');
window.close();
} else {
document.write('SUCCESS');
window.testRunner && testRunner.notifyDone();
}
</script>
<script>
if (opener) {
opener.postMessage('trololo', '*');
window.close();
} else {
document.write('SUCCESS');
window.testRunner && testRunner.notifyDone();
}
</script>