From eaca5e023ec857c6070ddec8c099ecceeb5c6e8e Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 11 Dec 2017 17:36:44 +0100 Subject: [PATCH] mshtml/tests: Skip documentMode tests on IE7. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/tests/dom.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 5128d2ff265..6c0b637a71a 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -10597,6 +10597,10 @@ static void test_document_mode(IHTMLDocument2 *doc2) HRESULT hres; hres = IHTMLDocument2_QueryInterface(doc2, &IID_IHTMLDocument6, (void**)&doc); + if(hres == E_NOINTERFACE) { + win_skip("IHTMLDocument6 not supported\n"); + return; + } ok(hres == S_OK, "Could not get IHTMLDocument6 interface: %08x\n", hres); V_VT(&v) = VT_EMPTY;