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>
This commit is contained in:
parent
b7ddab2e46
commit
4eb35fb237
|
@ -828,15 +828,10 @@ static void NSAPI nsDocumentObserver_BindToDocument(nsIDocumentObserver *iface,
|
||||||
DWORD zone;
|
DWORD zone;
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
|
|
||||||
/*
|
/* Internet URL zone is treated differently and defaults to the latest supported mode. */
|
||||||
* 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).
|
|
||||||
*/
|
|
||||||
hres = IInternetSecurityManager_MapUrlToZone(get_security_manager(), window->url, &zone, 0);
|
hres = IInternetSecurityManager_MapUrlToZone(get_security_manager(), window->url, &zone, 0);
|
||||||
if(SUCCEEDED(hres) && zone == URLZONE_INTERNET)
|
if(SUCCEEDED(hres) && zone == URLZONE_INTERNET)
|
||||||
mode = COMPAT_MODE_IE8;
|
mode = COMPAT_MODE_IE11;
|
||||||
}
|
}
|
||||||
|
|
||||||
set_document_mode(This, mode, FALSE);
|
set_document_mode(This, mode, FALSE);
|
||||||
|
|
Loading…
Reference in New Issue