1. When you call the window.close method, then the popup form should be opened using window.open method
2. For Example I have two files, sample.html and popup.html.
3. During the page load event of sample.html , I open the popup.html
4. And the Popup.html will close after two seconds without user intervention.
Please find the attached sample. This sample worked both IE and Firefox.
Desktop.zip