wininet: Skip test_open_url_async on IEs older than 7.

This commit is contained in:
Jacek Caban 2013-03-09 17:52:02 +01:00 committed by Alexandre Julliard
parent 8981bbd464
commit 3157534347
1 changed files with 10 additions and 0 deletions

View File

@ -3662,6 +3662,16 @@ static void test_open_url_async(void)
ret = InternetSetOptionA(NULL, INTERNET_OPTION_SETTINGS_CHANGED, NULL, 0);
ok(ret, "InternetSetOption(INTERNET_OPTION_END_BROWSER_SESSION) failed: %u\n", GetLastError());
/*
* Some versions of IE6 fail those tests. They pass some notification data as UNICODE string, while
* other versions never do. They also hang of following tests. We disable it for everything older
* than IE7.
*/
if(!pInternetGetSecurityInfoByURLA) {
win_skip("Skipping async open on too old wininet version.\n");
return;
}
ctx.req = NULL;
ctx.event = CreateEvent(NULL, TRUE, FALSE, "Z:_home_hans_jaman-installer.exe_ev1");