Microsoft KB Archive/815323

= BUG: Successive window.open Calls Slows Down More as You Increase the Number of Open Browser Windows =

Article ID: 815323

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft Internet Explorer (Programming)

-



SYMPTOMS
Each successive call to the window.open method to create a new child window slows down more as you increase the number of browser windows that you open.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce the Behavior
  Paste the following code in Microsoft Notepad:

JS window.open tester

 function jsOpenWindow { var iRand = Math.round(Math.random*1000000); var sURL = &quot;Blank.htm?ID=&quot; + iRand.toString; var sHandle = iRand.toString;

var oWin; try { oWin = window.open(sURL, sHandle, &quot;&quot;); } catch (e) { alert(&quot;error&quot;); } }



 Name the file Sample.htm .  Open another instance of Notepad, and then paste the following code in it:  Random Incident  Random Incident  Name the file Blank.htm, and then put it in the same folder where you saved Sample.htm. Open Sample.htm in Internet Explorer.</li> Click the Open new window with unique ID button.</li> Notice that with each successive call to window.open method when you have a number of the browser (Internet Explorer) windows already open, the call slows down more.</li></ol>

Additional query words: performance delay time name named

Keywords: kbhotfixserver kbqfe kbbug KB815323

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.