BUG: ??? ?? ???? ????? ???? Internet Explorer ???????? ??????? window.setTimeout(window.close,1) ?? Windows XP Service Pack 2

?????? ????????? ?????? ?????????
???? ???????: 884768 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ??? ?????? ????? ?? ????? ?????? ???? Microsoft Internet Explorer ?? ?????? ???? Internet Explorer. ???? ??? ??????? ?? Microsoft Windows XP Service Pack 2.

?????

?????? ???????? ??????? ????? window.setTimeout(window.close,1) ?????? ???? Internet Explorer.

???? ??????

??????? ?????? ??? ??? ??????? ?????? ????? ", 1) window.setTimeout("window.close() ?? ????? window.close() ?????? ???? Internet Explorer.

????? ??????? ????? ????????? ???????? ?????? ??? ??? ????.
<html>
<body>
<script>
function TimeoutCloseWindow2()
{
	window.setTimeout("window.close()", 1);
}
function DirectCloseWindow()
{
	window.close();
}
</script>
<p>
<a href="javascript:TimeoutCloseWindow2();">Workaround 1: Click here to try to close the window by using window.setTimeout("window.close()", 1)</a>
</p>
<p>
<a href="javascript:DirectCloseWindow();">Workaround 2: Click here to try to close the window by using window.close()</a>
</p>
</body>
</html>

?????

???? Microsoft ?? ??? ??? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

????? ????? ????? ???????

  1. ???? ??? ???? ?? ???? ??? ????? ????? ??????? ?? ???? ??? ?????.
  2. ??? ????? ????????? ???????? ?????? ?? ???????.
    <html>
    <body>
    <script>
    function TimeoutCloseWindow()
    {
    	window.setTimeout(window.close, 1);
    }
    </script>
    <a href="javascript:TimeoutCloseWindow();">Click here to try to close the window by using window.setTimeout(window.close, 1)</a>
    </body>
    </html>
  3. ?? ???? ????? ???? Repro.html.
  4. ??????? Internet Explorer ???? ??? Repro.html.

    ?????? ??? ??? Internet Explorer ???? ??????? ???????, ???? ??? ??????? ?? ???? ??? ?????? ??????? ???????.

    ???????? ?? ????? ?????? ??? Internet Explorer ?????? ??? ????? ?? ????? ??????? ????? ???? ????? ?????? ??? ????????? ????? ??. ???? ??? ?????? ??? ??????.
  5. ???? ??? ???????? ??????? "???? ??? ??????? ????? ?????? ???????? window.setTimeout(window.close, 1).

    ????? ???? Internet Explorer ??????. ??? ???? ?? ?????? ???? Internet Explorer.

???????

???? ???????: 884768 - ????? ??? ??????: 27/?????/1425 - ??????: 1.2
????? ???
  • Microsoft Windows XP Professional SP2
  • Microsoft Windows XP Home Edition SP2
  • Microsoft Windows XP Media Center Edition Service Pack 2 (SP2)
  • Microsoft Windows XP Tablet PC Edition Service Pack 2 (SP2)
????? ??????: 
kbmt kbtshoot kbhtml kbscript kbwebbrowser kbbug KB884768 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????884768

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com