The issue is that when I invoke window.close() or self.close() it doesn\'t close the window. Now there seems to be a belief that in Chrome you can\
window.close()
self.close()
The below code worked for me -
window.open('location', '_self', ''); window.close();
Tested on Chrome 43.0.2357.81