Closing tab instances or single-tab windows not opened by
Steps to reproduce: click the above button
Actual results in Internet Explorer 7 and Internet Explorer 8:
the window closes if there is only 1 tab opened or the tab instance closes!
Expected results according to MSDN:
a confirmation prompt window should ask, should invite the user to approve, to consent to the
closing of the window with the following text message:
"The webpage you are viewing is trying to close the tab.
Do you want to close this tab?
on close method: Invoking
the window.close method on a window not opened with script displays a
confirmation dialog box. Using script to close the last running instance
of Windows Internet Explorer also opens the confirmation dialog