mshtml: Mark tests that need wine-gecko as todo on arches without it.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2020-05-13 08:33:54 +00:00 committed by Alexandre Julliard
parent f6d2e03750
commit 88faa9e152
6 changed files with 27 additions and 0 deletions

View File

@ -3319,6 +3319,9 @@ static IHTMLDocument2 *create_document(void)
hres = CoCreateInstance(&CLSID_HTMLDocument, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER,
&IID_IHTMLDocument2, (void**)&doc);
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
ok(hres == S_OK, "CoCreateInstance failed: %08x\n", hres);
return SUCCEEDED(hres) ? doc : NULL;
}
@ -3489,6 +3492,9 @@ START_TEST(events)
DestroyWindow(container_hwnd);
}else {
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
win_skip("Too old IE\n");
}

View File

@ -7290,6 +7290,9 @@ static IHTMLDocument2 *create_document(void)
hres = CoCreateInstance(&CLSID_HTMLDocument, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER,
&IID_IHTMLDocument2, (void**)&doc);
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
ok(hres == S_OK, "CoCreateInstance failed: %08x\n", hres);
if(FAILED(hres))
return NULL;
@ -8774,6 +8777,9 @@ START_TEST(htmldoc)
if(!check_ie()) {
CoUninitialize();
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
win_skip("Too old IE\n");
return;
}

View File

@ -302,6 +302,9 @@ static void perform_test(const struct location_test* test)
hres = CoCreateInstance(&CLSID_HTMLDocument, NULL,
CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER, &IID_IHTMLDocument2,
(void**)&doc);
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
ok(hres == S_OK, "%s: CoCreateInstance failed: 0x%08x\n", test->name, hres);
if(FAILED(hres)){
IMoniker_Release(url_mon);

View File

@ -1231,6 +1231,9 @@ static IHTMLDocument2 *create_document(void)
hres = CoCreateInstance(&CLSID_HTMLDocument, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER,
&IID_IHTMLDocument2, (void**)&doc);
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
ok(hres == S_OK, "CoCreateInstance failed: %08x\n", hres);
return SUCCEEDED(hres) ? doc : NULL;
}
@ -3572,6 +3575,9 @@ START_TEST(script)
skip("IE running in Enhanced Security Configuration\n");
}
}else {
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
win_skip("Too old IE.\n");
}

View File

@ -3496,6 +3496,9 @@ static IHTMLDocument2 *create_document(void)
hres = CoCreateInstance(&CLSID_HTMLDocument, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER,
&IID_IHTMLDocument2, (void**)&doc);
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
ok(hres == S_OK, "CoCreateInstance failed: %08x\n", hres);
if(FAILED(hres))
return NULL;

View File

@ -1021,6 +1021,9 @@ static IHTMLDocument2 *create_doc_from_url(const WCHAR *start_url)
hres = CoCreateInstance(&CLSID_HTMLDocument, NULL,
CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER, &IID_IHTMLDocument2,
(void**)&doc);
#if !defined(__i386__) && !defined(__x86_64__)
todo_wine
#endif
ok(hres == S_OK, "CoCreateInstance failed: 0x%08x\n", hres);
hres = IHTMLDocument2_QueryInterface(doc, &IID_IPersistMoniker,