WebBrowser control broken in Windows 7 after KB3003057

Fixed Issue #1282034

Details

Created
Jan 2, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

This is going to be a bit difficult to give you precise steps, as it’s not a simple or small process, but here’s an outline of what I’ve done:

  1. Create a C++ application in Visual Studio 2010, and use ATL to embed the WebBrowser control via the CAxWindow2 class.

  2. I load a page into the WebBrowser control that is a simple HTML/JavaScript Editor to create and save HTML text in my application. This is loaded by the following process:

    a) Navigate2( about:blank )
    b) Wait under the ReadyState is WB_READYSTATE_COMPLETE
    c) Execute document.open
    d) Execute document.write with the HTML and JS for the editor page
    e) Execute document.close
    f) Execute a JS function in the page to initialize the page

  3. Ensure the registry key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION is set to “11000”

  4. Run the application, edit some text and then close the window hosting the WebBrowser control

  5. The application crashes with the message: “Unhandled exception at 0x00490054 in RevPS.exe: 0xC0000005: Access violation.”

  6. A stack trace shows the exception occurred in IEFRAME.DLL while processing message ID 32770

Expected Results:

The expected behavior is for it not to crash in IEFRAME.DLL when the application hosting the WebBrowser control destroys it.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To from “Kamen M.” to “Sharon T.”

      Changed Status to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in