'WebView identifies as Edge on some PCs, as IE11 on others
We have a native app for Windows 64 bit. It embeds WebView (the original, not WebView2). We set compatibility mode to IE11 with the BROWSER_FEATURE_EMULATION registry setting to 11000.
On some PCs, it identifies as IE11 with this user agent:
Mozilla/5.0 (Windows NT 6.2; Win64; x64; Trident/7.0; rv:11.0) like Gecko
On others, it identies as Edge with this agent:
Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.9200
These are all Windows 10 PCs, either 20H2 or 21H2.
How does this happen?
This is important because some things do not work in the "IE11" whereas they do work in the "Edge" mode. (Google maps)
From what I read, WebView on Windows 10 should always be "Edge IE11 mode".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
