title: "message" event is not fired when using postMessage
body: <p>I want to communicate between the main window and an iframe that is loaded in page. I did this thing in the past (the code still works), but however I cannot use it in another project. I create an example to reproduce the issue. It has a basic server side (that just serves some files) using <a href="https://github.com/IonicaBizau/node-statique" rel="nofollow"><strong><em><code><sub>Le</sub> Statique</code></em></strong> module</a>.</p>
  
  <p>The most important part is the client side, but let's start with the server:</p>
  
  <h2>Server (NodeJS)</h2>
  
  <p>Creates two servers (one listening on <code>8000</code> and another one listening on <code>9000</code>).</p>
  
  <pre><code>// Dependencies
  var Statique = require("statique")
    , Http = require('http')
    ;
  
  Http.createServer(new Statique({
      root: __dirname + "/receiver"
  }).setRoutes({
      "/": "/html/index.html"
  }).serve).listen(8000);
  
  Http.createServer(new Statique({
      root: __dirname + "/sender"
  }).setRoutes({
      "/": "/html/index.html"
  }).serve).listen(9000);
  </code></pre>
  
  <h2>Client</h2>
  
  <h3>Receiver</h3>
  
  <pre><code>...
  window.onload = function () {
      addEventListener("message", function (e) {
          // This part is never fired!
          console.log("2", e.data);
      }, false);
  };
  ...
  </code></pre>
  
  <h3>Sender</h3>
  
  <pre><code>...
  &lt;body&gt;
      &lt;iframe src="http://localhost:8000" frameborder="0" id="iframe"&gt;&lt;/iframe&gt;
      &lt;script&gt;
          iframe.contentWindow.postMessage("hi", "*");
      &lt;/script&gt;
  &lt;/body&gt;
  ...
  </code></pre>
  
  <p>However, <code>"message"</code> events from iframe are not fired. Why?</p>
  
  <p>I don't see any error in console.</p>