mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
winetest: Remove no longer needed Gecko check.
This commit is contained in:
parent
412f4a6091
commit
b07bc34515
1 changed files with 0 additions and 21 deletions
|
@ -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 )))
|
||||
|
|
Loading…
Reference in a new issue