mshtml: Don't expose readyState property to elements in IE11 mode.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-04-05 16:05:13 +02:00 committed by Alexandre Julliard
parent 5962a0ea26
commit bb1ff33720
2 changed files with 2 additions and 0 deletions

View File

@ -6301,6 +6301,7 @@ void HTMLElement_init_dispex_info(dispex_data_t *info, compat_mode_t mode)
{
static const dispex_hook_t elem2_ie11_hooks[] = {
{DISPID_IHTMLELEMENT2_DOSCROLL, NULL},
{DISPID_IHTMLELEMENT2_READYSTATE, NULL},
{DISPID_UNKNOWN}
};

View File

@ -32,6 +32,7 @@ sync_test("elem_props", function() {
var v = document.documentMode;
test_exposed("doScroll", v < 11);
test_exposed("readyState", v < 11);
test_exposed("querySelectorAll", v >= 8);
test_exposed("textContent", v >= 9);
test_exposed("prefix", v >= 9);