BUG: window.open Causes Delay in NewWindow Event

ID: Q194242


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 4.0, 4.01, 4.01sp1, 5.0dp1


SYMPTOMS

When hosting the WebBrowser control, it is possible to have all navigation occur in the hosting application. This is described in Knowledge Base article number Q185538 "HOWTO: Cause Navigation to Occur in Same WebBrowser Window."

However, when the NewWindow event is fired in response to a scripted window.open call, there is a 60 second delay before navigation occurs. In addition, in Internet Explorer 4.0x, an "Unspecified Error" occurs.


RESOLUTION

The only known workaround is to create a new instance of the hosting application for the new window. This is described in the following article in the Microsoft Knowledge Base:

Q184876 HOWTO: Use the WebBrowser Control NewWindow2 Event.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


REFERENCES

For more information, please see the MSDN Web Workshop:

http://msdn.microsoft.com/workshop/default.asp

For additional information, please see the following articles in the Microsoft Knowledge Base:
Q185538 HOWTO: Cause Navigation to Occur in Same WebBrowser Window

Q184876 HOWTO: Use the WebBrowser Control NewWindow2 Event

Additional query words:

Keywords : kbIE400bug kbIE401bug kbWebBrowser kbIE401sp1bug kbIE500dp1bug
Version : WINDOWS:4.0,4.01,4.01sp1,5.0dp1
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: May 3, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.