wininet/tests: Fix HttpSendRequestW test on IE5.
This commit is contained in:
parent
d5f3d6f759
commit
295d6773c0
|
@ -1849,7 +1849,9 @@ static void test_HttpSendRequestW(int port)
|
|||
ret = HttpSendRequestW(req, header, ~0u, NULL, 0);
|
||||
error = GetLastError();
|
||||
ok(!ret, "HttpSendRequestW succeeded\n");
|
||||
ok(error == ERROR_IO_PENDING || broken(error == ERROR_HTTP_HEADER_NOT_FOUND), /* IE6 */
|
||||
ok(error == ERROR_IO_PENDING ||
|
||||
broken(error == ERROR_HTTP_HEADER_NOT_FOUND) || /* IE6 */
|
||||
broken(error == ERROR_INVALID_PARAMETER), /* IE5 */
|
||||
"got %u expected ERROR_IO_PENDING\n", error);
|
||||
|
||||
InternetCloseHandle(req);
|
||||
|
|
Loading…
Reference in New Issue