title: window.focus() is not working in Chrome
body: <p>Here is my code:</p>
  
  <pre><code>var myWindow = window.open('','zzz','width=600,height=700');
  myWindow.document.write('test');
  myWindow.blur();
  myWindow.focus();
  window.onfocus=function(){
      this.document.write('&lt;br /&gt;Focused!');
  }
  var w = window;
  myWindow.onfocus=function(){
      this.blur();
      this.document.write('&lt;br /&gt;Focusing on main window!');
      w.focus();
  };
  myWindow.focus();
  </code></pre>
  
  <p>Here is the fiddle: <a href="http://jsfiddle.net/maniator/nMGNS/" rel="nofollow">http://jsfiddle.net/maniator/nMGNS/</a></p>
  
  <p>When the popup window is <strong>focused</strong> it should print <code>Focusing on main window!</code> on the popup and then focus on the main window and print <code>Focused!</code> over there.  </p>
  
  <p>But it does not.</p>
  
  <p>Here is the information about my browser:</p>
  
  <pre><code>Google Chrome   22.0.1229.79 (Official Build 158531) m
  OS  Windows
  WebKit  537.4 (@129177)
  JavaScript  V8 3.12.19.11
  Flash   11.3.31.331
  User Agent  Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4
  </code></pre>
  
  <hr>
  
  <p><em>Aside</em>:</p>
  
  <p>I know about the <code>alert(...)</code> hack, and I want to avoid it.
      ​</p>