title: javascript self.close() in chrome
body: <p>I want to auto-close window after users confirm password changed, so</p>
  
  <pre><code>&lt;script&gt;
      alert('password changed!');
      window.opener = window.location.href; 
      self.close();
  &lt;/script&gt;
  </code></pre>
  
  <p>It works in IE, but not works in Chrome.</p>
  
  <pre><code>&lt;script&gt;
      window.open('', '_self', '');
      window.close();
  &lt;/script&gt;
  </code></pre>
  
  <p>this not works , too</p>
  
  <p>why not works in Chrome ? &amp; How can i work this?</p>