<script> | |
function frameLoaded() { | |
if (window.opener) | |
window.opener.postMessage('done', '*'); | |
} | |
</script> | |
<iframe onload="frameLoaded()" src="data:text/html,<html><script src='http://127.0.0.1:8080/security/mixedContent/resources/script.js'></script></html>"></iframe> |