gecko-dev/dom/base/test/iframe_postMessage_solidus....

16 строки
247 B
HTML

<!DOCTYPE HTML>
<html>
<body>
<script type="application/javascript">
window.addEventListener('message', receiveMessage, false);
function receiveMessage(evt) {
window.parent.postMessage(evt.data, '*');
}
</script>
</body>
</html>