urlmon: Skip more tests on too old IEs.
This commit is contained in:
parent
1fe1676ae9
commit
61cd0648f2
|
@ -370,6 +370,11 @@ static void test_URLOpenStreamW(void)
|
||||||
|
|
||||||
START_TEST(stream)
|
START_TEST(stream)
|
||||||
{
|
{
|
||||||
|
if(!GetProcAddress(GetModuleHandleA("urlmon.dll"), "CompareSecurityIds")) {
|
||||||
|
win_skip("Too old IE\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
create_file();
|
create_file();
|
||||||
test_URLOpenBlockingStreamW();
|
test_URLOpenBlockingStreamW();
|
||||||
test_URLOpenStreamW();
|
test_URLOpenStreamW();
|
||||||
|
|
|
@ -3141,6 +3141,11 @@ START_TEST(url)
|
||||||
hurlmon = GetModuleHandle("urlmon.dll");
|
hurlmon = GetModuleHandle("urlmon.dll");
|
||||||
pCreateAsyncBindCtxEx = (void*) GetProcAddress(hurlmon, "CreateAsyncBindCtxEx");
|
pCreateAsyncBindCtxEx = (void*) GetProcAddress(hurlmon, "CreateAsyncBindCtxEx");
|
||||||
|
|
||||||
|
if(!GetProcAddress(hurlmon, "CompareSecurityIds")) {
|
||||||
|
win_skip("Too old IE\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
complete_event = CreateEvent(NULL, FALSE, FALSE, NULL);
|
complete_event = CreateEvent(NULL, FALSE, FALSE, NULL);
|
||||||
complete_event2 = CreateEvent(NULL, FALSE, FALSE, NULL);
|
complete_event2 = CreateEvent(NULL, FALSE, FALSE, NULL);
|
||||||
thread_id = GetCurrentThreadId();
|
thread_id = GetCurrentThreadId();
|
||||||
|
|
Loading…
Reference in New Issue