Gabriel Ivăncescu : mshtml: Don't populate the props at all on IE9+ modes.
Module: wine Branch: master Commit: 39a8701dfdb7ba5b858d96d38f7935b5bee3ac3b URL: https://source.winehq.org/git/wine.git/?a=commit;h=39a8701dfdb7ba5b858d96d38... Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Mon Nov 29 18:31:24 2021 +0200 mshtml: Don't populate the props at all on IE9+ modes. For IE9 and up we use proper attribute nodes without associated props. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/htmlelem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c index 3f7c60b0172..0a7755bea7f 100644 --- a/dlls/mshtml/htmlelem.c +++ b/dlls/mshtml/htmlelem.c @@ -6466,6 +6466,9 @@ static HRESULT HTMLElement_populate_props(DispatchEx *dispex) if(!This->dom_element) return S_FALSE; + if(dispex_compat_mode(dispex) >= COMPAT_MODE_IE9) + return S_OK; + nsres = nsIDOMElement_GetAttributes(This->dom_element, &attrs); if(NS_FAILED(nsres)) return E_FAIL;
participants (1)
-
Alexandre Julliard