Commit 8d0551b9 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp/tests: Accept another error from WinHttpGetProxyForUrl.

parent 8e9f0af2
...@@ -2697,7 +2697,8 @@ static void test_WinHttpGetProxyForUrl(void) ...@@ -2697,7 +2697,8 @@ static void test_WinHttpGetProxyForUrl(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ret = WinHttpGetProxyForUrl( session, urlW, &options, &info ); ret = WinHttpGetProxyForUrl( session, urlW, &options, &info );
error = GetLastError(); error = GetLastError();
if (!ret) ok( error == ERROR_WINHTTP_AUTODETECTION_FAILED, "got %u\n", error ); if (!ret) ok( error == ERROR_WINHTTP_AUTODETECTION_FAILED ||
error == ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT, "got %u\n", error );
else else
{ {
trace("Proxy.AccessType=%u\n", info.dwAccessType); trace("Proxy.AccessType=%u\n", info.dwAccessType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment