The "window.focus" and "window.blur" methods do not set the focus on a new window in Internet Explorer 8 if the window was created by another Iexplorer.exe process

Symptoms

Consider the following scenario:

  • You create a Web page that uses the window.open method to open a new Windows Internet Explorer window.

  • You code the Web page to use the window.focus or window.blur method to switch the focus to the new Internet Explorer window.

In this scenario, when a user accesses this Web page by using Internet Explorer 8, the focus does not switch to the new Internet Explorer window as expected.

Cause

This issue occurs because of the Loosely-Coupled Internet Explorer (LCIE) architectural design in Internet Explorer 8. This design enables the window.open method to open a new window in a separate tab process or in the same tab process. However, when a new window is created by a different Internet Explorer process (Iexplorer.exe) other than its parent, various issues can occur. These issues include the issue that is mentioned in the "Symptoms" section.

Resolution

Security update information

To resolve this problem, install the most current cumulative security update for Internet Explorer. To install the most current updates, visit the following Microsoft Web site:

http://update.microsoft.com
For more technical information about the most current cumulative security update for Internet Explorer, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/current.aspx
Note This update was first included in security update 978207 (MS10-002).
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

978207 MS10-002: Cumulative security update for Internet Explorer

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To install this hotfix, you must have installed Internet Explorer 8 on a computer that is running one of the following operating systems:

  • Windows XP Service Pack 2 (SP2) or Windows XP Service Pack 3 (SP3)

  • Windows Server 2003 Service Pack 2 (SP2)

  • Windows Vista

  • Windows Server 2008

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Registry information

To use one of the P1es in this package, you do not have to make any changes to the registry.

File information

The English version of this has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

For all supported x86-based versions of Internet Explorer 8 for Windows XP SP2 or for Windows XP SP3

File name

File version

File size

Date

Time

Platform

SP requirement

Ieframe.dll

8.0.6001.22904

11,069,440

29-Jul-2009

05:14

x86

SP3

Ieproxy.dll

8.0.6001.22904

246,272

29-Jul-2009

05:14

x86

SP3

Mshtml.dll

8.0.6001.22904

5,938,688

29-Jul-2009

05:14

x86

SP3

For all supported x86-based versions of Internet Explorer 8 for Windows Server 2003 SP2

File name

File version

File size

Date

Time

Platform

SP requirement

Ieframe.dll

8.0.6001.22904

11,069,440

29-Jul-2009

07:44

x86

SP2

Ieproxy.dll

8.0.6001.22904

246,272

29-Jul-2009

07:44

x86

SP2

Mshtml.dll

8.0.6001.22904

5,938,688

29-Jul-2009

07:44

x86

SP2

For all supported x86-based versions of Internet Explorer 8 for Windows Vista or for Windows Server 2008

File name

File version

File size

Date

Time

Platform

Mshtml.dll

8.0.6001.22904

5,938,688

25-Jul-2009

15:39

x86

Mshtml.tlb

8.0.6001.22904

1,638,912

25-Jul-2009

14:05

Not Applicable

Ieproxy.dll

8.0.6001.22904

246,272

25-Jul-2009

15:38

x86

Ieframe.dll

8.0.6001.22904

11,069,440

25-Jul-2009

15:38

x86

Ieui.dll

8.0.6001.22904

164,352

25-Jul-2009

15:38

x86


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about the Windows Internet Explorer 8 Readiness Toolkit, visit the following Microsoft Web site:

http://www.microsoft.com/windows/internet-explorer/readiness/developers-existing.aspxFor more information about the window HTML object, visit the following Microsoft Web site:

http://msdn.microsoft.com/en-us/library/ms879562.aspx

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×