winetest: Remove no longer needed Gecko check.

This commit is contained in:
Jacek Caban 2009-12-03 15:15:38 +01:00 committed by Alexandre Julliard
parent 412f4a6091
commit b07bc34515

View file

@ -175,21 +175,6 @@ static BOOL is_native_dll( HMODULE module )
return TRUE;
}
/* check if Gecko is present, trying to trigger the install if not */
static BOOL gecko_check(void)
{
IHTMLDocument2 *doc;
IHTMLElement *body;
BOOL ret = FALSE;
CoInitialize( NULL );
if (FAILED( CoCreateInstance( &CLSID_HTMLDocument, NULL, CLSCTX_INPROC_SERVER,
&IID_IHTMLDocument2, (void **)&doc ))) return FALSE;
if ((ret = SUCCEEDED( IHTMLDocument2_get_body( doc, &body )))) IHTMLElement_Release( body );
IHTMLDocument_Release( doc );
return ret;
}
static void print_version (void)
{
#ifdef __i386__
@ -693,12 +678,6 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType,
nr_native_dlls++;
return TRUE;
}
if (!strcmp( dllname, "mshtml" ) && running_under_wine() && !gecko_check())
{
FreeLibrary(dll);
xprintf (" %s=load error Gecko is not installed\n", dllname);
return TRUE;
}
FreeLibrary(dll);
if (!(err = get_subtests( tempdir, &wine_tests[nr_of_files], lpszName )))