Alistair Leslie-Hughes : mshtml/tests: Interface ITravelLogClient may not be supported.

Alexandre Julliard julliard at winehq.org
Thu Feb 9 15:21:49 CST 2012


Module: wine
Branch: master
Commit: 4d962da7b06cd1d3460a8d58b9f7cda799989bfa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4d962da7b06cd1d3460a8d58b9f7cda799989bfa

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Sun Feb  5 15:45:22 2012 +1100

mshtml/tests: Interface ITravelLogClient may not be supported.

---

 dlls/mshtml/tests/dom.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 8df47cc..674d0a3 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -254,7 +254,6 @@ static const IID * const window_iids[] = {
     &IID_IHTMLWindow3,
     &IID_IDispatchEx,
     &IID_IServiceProvider,
-    &IID_ITravelLogClient,
     NULL
 };
 
@@ -4419,6 +4418,12 @@ static void test_window(IHTMLDocument2 *doc)
     hres = IHTMLDocument2_get_parentWindow(doc, &window);
     ok(hres == S_OK, "get_parentWindow failed: %08x\n", hres);
     test_ifaces((IUnknown*)window, window_iids);
+    hres = IDispatch_QueryInterface(window, &IID_ITravelLogClient, (void**)&unk);
+    if(hres == S_OK)
+        IUnknown_Release(unk);
+    else
+        win_skip("IID_ITravelLogClient not supported\n");
+
     test_disp((IUnknown*)window, &DIID_DispHTMLWindow2, "[object]");
 
     hres = IHTMLWindow2_get_document(window, &doc2);




More information about the wine-cvs mailing list