title: window.close() not working in Microsoft Edge browser
body: <p>In Microsoft Edge, <code>window.close()</code> is not working in child windows after closing a print dialog.</p>
  
  <p>Steps to reproduce:</p>
  
  <ol>
  <li>Open a print dialog from a child window.</li>
  <li>Close it.</li>
  </ol>
  
  <p>After closing the print dialog, the close button of the child window is not closing it.</p>
  
  <h2>Code for parent window:</h2>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
      function openChild(){ 
         window.open("childWindow.html", "", "width=600, height=400"); 
      }
      &lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;input type="button" value="Open Child Window" onclick="openChild()" /&gt;
      &lt;/body&gt;
  </code></pre>
  
  <h2>Code for child window:</h2>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function closeWindow(){
          window.close();
      }
      function printPage() {
          window.print();
      }
      &lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;input type="button" value="Print" onclick="printPage()" /&gt;
          &lt;input type="button" value="Close Window" onclick="closeWindow()" style="float: right" /&gt;
      &lt;/body&gt;
  </code></pre>