gecko-dev/browser/components/originattributes/test/browser/file_broadcastChanneliFrame.html
Masatoshi Kimura 1b484b57d6 Bug 1342144 - Fix ESLint errors in browser/. r=Paolo
MozReview-Commit-ID: ByMEEcTQQtd

--HG--
extra : rebase_source : af62eeccdc22b63022ac18e46023c153798caa94
2017-02-24 23:25:45 +09:00

15 lines
461 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Page broadcast channel responder for first party isolation</title>
</head>
<body>
<div id="display" style="white-space:pre; font-family:monospace; display:inline;"></div>
<script type="text/javascript">
let bc = new BroadcastChannel("testBroadcastChannel");
bc.onmessage = function(e) {
window.parent.postMessage(e.data, "*");
};
</script>
</body>