[PATCH] wininet/tests: Skip cookie attributes tests on IE < 8.0.

Alex Henrie alexhenrie24 at gmail.com
Tue Oct 17 00:54:17 CDT 2017


INTERNET_COOKIE_HTTPONLY was introduced in IE 8.0. This patch will fix
the test failures in the Windows XP + IE 7.0 testbot VM.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/wininet/tests/internet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wininet/tests/internet.c b/dlls/wininet/tests/internet.c
index 0b43d01151..dd15a4b8a0 100644
--- a/dlls/wininet/tests/internet.c
+++ b/dlls/wininet/tests/internet.c
@@ -565,7 +565,7 @@ static void test_cookie_attrs(void)
     DWORD size, state;
     BOOL ret;
 
-    if(!GetProcAddress(GetModuleHandleA("wininet.dll"), "InternetGetSecurityInfoByURLA")) {
+    if(!GetProcAddress(GetModuleHandleA("wininet.dll"), "DeleteWpadCacheForNetworks")) {
         win_skip("Skipping cookie attributes tests. Too old IE.\n");
         return;
     }
-- 
2.14.2




More information about the wine-patches mailing list