Jacek Caban : mshtml/tests: Skip documentMode tests on IE7.
Alexandre Julliard
julliard at winehq.org
Mon Dec 11 13:53:38 CST 2017
Module: wine
Branch: master
Commit: eaca5e023ec857c6070ddec8c099ecceeb5c6e8e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eaca5e023ec857c6070ddec8c099ecceeb5c6e8e
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Dec 11 17:36:44 2017 +0100
mshtml/tests: Skip documentMode tests on IE7.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 5128d2f..6c0b637 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;
More information about the wine-cvs
mailing list