mshtml: Interface ITravelLogClient may not be supported

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sat Feb 4 22:50:14 CST 2012


Hi,


Changelog:
     mshtml: Interface ITravelLogClient may not be supported


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From e8ca3cb44695d06487c483823aca053bc92f8914 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sun, 5 Feb 2012 15:45:22 +1100
Subject: [PATCH] Interface ITravelLogClient may not be supported
To: wine-patches <wine-patches at winehq.org>

---
 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 a847998..c26efa8 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);
-- 
1.7.5.4



More information about the wine-patches mailing list