mshtml: Cap the compat mode for filters collection to IE8 mode.
So dispex_to_string returns [object]. Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e893e6e27b
commit
f7ea38d708
|
@ -7074,7 +7074,7 @@ static HRESULT create_filters_collection(compat_mode_t compat_mode, IHTMLFilters
|
||||||
collection->ref = 1;
|
collection->ref = 1;
|
||||||
|
|
||||||
init_dispatch(&collection->dispex, (IUnknown*)&collection->IHTMLFiltersCollection_iface,
|
init_dispatch(&collection->dispex, (IUnknown*)&collection->IHTMLFiltersCollection_iface,
|
||||||
&HTMLFiltersCollection_dispex, compat_mode);
|
&HTMLFiltersCollection_dispex, min(compat_mode, COMPAT_MODE_IE8));
|
||||||
|
|
||||||
*ret = &collection->IHTMLFiltersCollection_iface;
|
*ret = &collection->IHTMLFiltersCollection_iface;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in New Issue