title: window.close() not working in android webview?
body: <p>Android 4.1
  Eclipse
  Testing on device</p>
  
  <p>I am trying to open a html/javascript webpage, hosted on my localhost for now, in my android application through a webview.
  The page is suppose to just close after 2 sec through the below code</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      alert('hello');
      setInterval(function(){window.close();},2000);
  &lt;/script&gt;
  </code></pre>
  
  <p>I am able to get the hello alert by using WebChromeClient. But the window.close is still not working. Any help would be appreciated.</p>
  
  <p>PS: Here is how i am loading the URL:</p>
  
  <pre><code>WebSettings ws = webView.getSettings();
  ws.setJavaScriptEnabled(true);      
  ws.setJavaScriptCanOpenWindowsAutomatically(true);
  webView.loadUrl("http://192.168.1.137/abc.html");
  webView.setWebChromeClient(new WebChromeClient());
  </code></pre>