Steps: 1. Open a new tab 2. Open devtools/inspector and switch to Console panel 3. Issue "window.close();" and enter 4. See that the window is closed 5. Open a new tab again and this time enter some URL in it 6. Now again after opening devtools/inspector, issue "window.close();" Expected result: Newly opened tab should close or should show warning message if its not allowed to be closed. (the later case is seen with firebug where it throws the warning) Actual result: The page wont close and without any warning.
Current warning is now "Can't close the window since it was not opened by JavaScript".