Paul Vriens : mshtml/tests: Run tests again on boxes with older IE.

Alexandre Julliard julliard at winehq.org
Thu Dec 3 10:29:52 CST 2009


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Thu Dec  3 08:05:16 2009 +0100

mshtml/tests: Run tests again on boxes with older IE.

---

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

diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 0be3021..ab1a0e0 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -4152,8 +4152,8 @@ static void test_cookies(IUnknown *unk)
     ok(hres == S_OK, "get_cookie failed: %08x\n", hres);
     if(str) {
         size = sizeof(buf)/sizeof(WCHAR);
-        b = InternetGetCookieExW(http_urlW, NULL, buf, &size, 0, NULL);
-        ok(b, "InternetGetCookieEx failed: %08x\n", GetLastError());
+        b = InternetGetCookieW(http_urlW, NULL, buf, &size);
+        ok(b, "InternetGetCookieW failed: %08x\n", GetLastError());
         ok(!lstrcmpW(buf, str), "cookie = %s, expected %s\n", wine_dbgstr_w(str), wine_dbgstr_w(buf));
         SysFreeString(str);
     }
@@ -4167,8 +4167,8 @@ static void test_cookies(IUnknown *unk)
     ok(hres == S_OK, "get_cookie failed: %08x\n", hres);
     ok(str2 != NULL, "cookie = NULL\n");
     size = sizeof(buf)/sizeof(WCHAR);
-    b = InternetGetCookieExW(http_urlW, NULL, buf, &size, 0, NULL);
-    ok(b, "InternetGetCookieEx failed: %08x\n", GetLastError());
+    b = InternetGetCookieW(http_urlW, NULL, buf, &size);
+    ok(b, "InternetGetCookieW failed: %08x\n", GetLastError());
     ok(!lstrcmpW(buf, str2), "cookie = %s, expected %s\n", wine_dbgstr_w(str2), wine_dbgstr_w(buf));
     ok(strstrW(str2, str) != NULL, "could not find %s in %s\n", wine_dbgstr_w(str), wine_dbgstr_w(str2));
     SysFreeString(str);
@@ -4183,8 +4183,8 @@ static void test_cookies(IUnknown *unk)
     ok(hres == S_OK, "get_cookie failed: %08x\n", hres);
     ok(str2 != NULL, "cookie = NULL\n");
     size = sizeof(buf)/sizeof(WCHAR);
-    b = InternetGetCookieExW(http_urlW, NULL, buf, &size, 0, NULL);
-    ok(b, "InternetGetCookieEx failed: %08x\n", GetLastError());
+    b = InternetGetCookieW(http_urlW, NULL, buf, &size);
+    ok(b, "InternetGetCookieW failed: %08x\n", GetLastError());
     ok(!lstrcmpW(buf, str2), "cookie = %s, expected %s\n", wine_dbgstr_w(str2), wine_dbgstr_w(buf));
     ok(strstrW(str2, str) != NULL, "could not find %s in %s\n", wine_dbgstr_w(str), wine_dbgstr_w(str2));
     SysFreeString(str);




More information about the wine-cvs mailing list