Commit b07bc345 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winetest: Remove no longer needed Gecko check.

parent 412f4a60
...@@ -175,21 +175,6 @@ static BOOL is_native_dll( HMODULE module ) ...@@ -175,21 +175,6 @@ static BOOL is_native_dll( HMODULE module )
return TRUE; 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) static void print_version (void)
{ {
#ifdef __i386__ #ifdef __i386__
...@@ -693,12 +678,6 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType, ...@@ -693,12 +678,6 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType,
nr_native_dlls++; nr_native_dlls++;
return TRUE; 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); FreeLibrary(dll);
if (!(err = get_subtests( tempdir, &wine_tests[nr_of_files], lpszName ))) if (!(err = get_subtests( tempdir, &wine_tests[nr_of_files], lpszName )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment