[PATCH 2/2] mshtml: Default to IE11 for Internet URL zone.

Paul Gofman pgofman at codeweavers.com
Wed Jul 21 15:44:32 CDT 2021


Fixes Swords of Legends Online launcher.

Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
 dlls/mshtml/mutation.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/dlls/mshtml/mutation.c b/dlls/mshtml/mutation.c
index abe403ea976..4352e93eba3 100644
--- a/dlls/mshtml/mutation.c
+++ b/dlls/mshtml/mutation.c
@@ -828,15 +828,10 @@ static void NSAPI nsDocumentObserver_BindToDocument(nsIDocumentObserver *iface,
                 DWORD zone;
                 HRESULT hres;
 
-                /*
-                 * Internet URL zone is treated differently. Native defaults to latest supported
-                 * mode. We default to IE8. Ideally, we'd sync that with version used for IE=edge
-                 * X-UA-Compatible version, allow configuration and default to higher version
-                 * (once it's well supported).
-                 */
+                /* Internet URL zone is treated differently and defaults to the latest supported mode. */
                 hres = IInternetSecurityManager_MapUrlToZone(get_security_manager(), window->url, &zone, 0);
                 if(SUCCEEDED(hres) && zone == URLZONE_INTERNET)
-                    mode = COMPAT_MODE_IE8;
+                    mode = COMPAT_MODE_IE11;
             }
 
             set_document_mode(This, mode, FALSE);
-- 
2.31.1




More information about the wine-devel mailing list