Merge branch 'urlmon-http-binding-test' into 'master'

Draft: urlmon: test http with auto redirect disabled, and CreateBinding

See merge request wine/wine!3818
This commit is contained in:
Yuxuan Shui 2024-11-19 05:03:17 +00:00
commit e50df7aeba

View file

@ -3616,7 +3616,11 @@ static void test_http_protocol(void)
trace("Testing http protocol (redirected, binding)...\n");
bindf = BINDF_ASYNCHRONOUS | BINDF_ASYNCSTORAGE | BINDF_PULLDATA | BINDF_FROMURLMON | BINDF_NOWRITECACHE;
test_http_protocol_url(redirect_url, HTTP_TEST, TEST_REDIRECT|TEST_USEBINDING, TYMED_NULL);
test_http_protocol_url(redirect_url, HTTP_TEST, TEST_REDIRECT | TEST_USEBINDING, TYMED_NULL);
trace("Testing http protocol (redirected, disable auto redirect, binding)...\n");
bindf = BINDF_ASYNCHRONOUS | BINDF_ASYNCSTORAGE | BINDF_PULLDATA | BINDF_FROMURLMON | BINDF_NOWRITECACHE;
test_http_protocol_url(redirect_url, HTTP_TEST, TEST_REDIRECT | TEST_DISABLEAUTOREDIRECT | TEST_USEBINDING, TYMED_NULL);
/* This is a bit ugly. We unconditionally disable this test on Wine. This won't work until we have
* support for reading from cache via HTTP layer in wininet. Until then, Wine will fail badly, affecting