DevTools
DevTools copied to clipboard
Dev tool crashes Edge completely when opened in Internet Explorer mode
Edge closes unexpectedly for me when I open Edge dev tools while viewing a .mht file.
Version: Version 115.0.1901.188 (Official build) (64-bit) OS Version: Windows 10 22H2 build 19045.3086.
Repro steps:
- In outlook view an email in browser (Actions > View in Browser). This will open the email in Edge a file with a path like file:///C:/Users/{userid}/AppData/Local/Microsoft/Windows/INetCache/Content.Outlook/3NQZYE95/email%20(004).mht
- Press F12 to open Edge dev tools. The tools pane will open and be greyed-out and Edge will then force close unexpectedly.
AB#45821016
Thank you for filing this and providing steps to repo.
I'm unable to find the View in Browser option yet, it might not exist anymore in the new version of Outlook.
I have a way to save an email, however. When I do, the resulting file has a .eml
extension, which I think is similar to .mht
files.
So I just renamed my file to mht, opened it in Edge, and opened DevTools. This worked fine.
Does it fail for you with all mht files, or just some? When you open the file in a text editor, what does the content look like? Is it HTML markup? Would you, by any chance, be able to share a mht file with us here? I understand that may not be possible.
In any case, I'll make sure this is tracked by our team.
Hi. I have experimented a bit more and the issue is actually simpler than I thought. I have renamed this issue and here is a new repo:
- View any page in Internet Explorer mode.
- Hit F12 and wait a few seconds.
Edge will then crash out completely.
The fact that DevTools is greyed-out on IEMode pages is expected. The Edge DevTools relies on a debugging protocol that IEMode pages simply doesn't support. You can, however, debug IEMode pages by following this doc: https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/ie-mode/
However, the fact that Edge crashes is definitely not expected 😄 It doesn't crash for me locally. I have the exact same Edge version, but I'm on Windows 11, not 10. So maybe that's related to this.
Letting our team know about this.
It crashes for me, too (Version 119.0.2151.93 (Official build) (64-bit) on Windows 10), the crash has been reported under bucket id 2b2f32c7593ef08415290778ff36bcfe and I've submitted feedback about it, too.
Thanks for your comment. Let me look at our internal issue tracking this, and add your reported crash ID, just in case this helps.