Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Internet Explorer 11 may return incorrect JavaScript typeof result for host objects in non-edge document modes


View products that this article applies to.

Symptoms

After the just-in-time (JIT) compilation of certain JavaScript functions, Internet Explorer 11 may return an incorrect JavaScript typeof result for host and DOM objects in non-edge document modes.

↑ Back to the top


Resolution

Update information

To resolve this problem, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update. Additionally, see the technical information about the most recent cumulative security update for Internet Explorer.

Note This update was first included in March cumulative security update for Internet Explorer (MS15-018) .

↑ Back to the top


More information

This issue occurs because of a timing issue with Internet Explorer when it requests the embedded resources. The working status is listed as follows: 
"if (typeof x == …)" // works fine
"y = (typeof x == …)" // does not work fine. Work around: "y = (typeof x == … || false)"
"return (typeof x == …)" // does not work fine. Work around: "return (typeof x == … || false)"

↑ Back to the top


Status

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

↑ Back to the top


References

See the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 3041186
Revision : 1
Created on : 1/7/2017
Published on : 3/10/2015
Exists online : False
Views : 269