[PATCH 2/2] Run tests again on boxes with older IE

Paul Vriens Paul.Vriens.Wine at gmail.com
Thu Dec 3 01:05:16 CST 2009


---
 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);
-- 
1.6.2.5


--------------050403070805050906000006--



More information about the wine-patches mailing list