Closing tab instances or single-tab windows not opened by javascript

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?
[Yes] [No]"

MSDN Reference 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 box.

This bug has been reported at connect's IE beta feedback as bug 379310 This bug has been closed by the IE team and will not be fixed for the release of IE 8 final.

Valid HTML 4.01!