gecko-dev/dom/base/test/file_receiveMessage.html
Kris Maglione d31b2a7bb6 Bug 1315233: Add test for postMessage from system principal to window with non-default originAttributes. r=baku
MozReview-Commit-ID: 2rIiSghlvEA

--HG--
extra : rebase_source : dc0ce2e698f79d7a723b7e55ca88a6d8ae5971fb
2016-11-07 11:40:59 -08:00

14 lines
193 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
window.onmessage = event => {
document.body.textContent = `${event.origin}|${event.data}`;
};
</script>
</head>
<body></body>
</html>