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:
parent
5962a0ea26
commit
bb1ff33720
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue