summaryrefslogtreecommitdiffstats
path: root/dom/broadcastchannel/tests/iframe_mozbrowser.html
blob: dbcf63d8831b955e4c23503f0f4d203c55d7fdc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>MozBrowser iframe</title>
</head>
<body>
  <script type="application/javascript;version=1.7">

var bc = new BroadcastChannel('foobar');
bc.postMessage('This is wrong!');

  </script>
</body>
</html>