Module: wine Branch: master Commit: 4eb35fb2375fa9d1ce3d35d6d3911ee6e449acfe URL: https://source.winehq.org/git/wine.git/?a=commit;h=4eb35fb2375fa9d1ce3d35d6d...
Author: Paul Gofman pgofman@codeweavers.com Date: Wed Jul 21 23:44:32 2021 +0300
mshtml: Default to IE11 for Internet URL zone.
Fixes Swords of Legends Online launcher.
Signed-off-by: Paul Gofman pgofman@codeweavers.com Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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);