mshtml: Fixed crash in tests if Gecko is not available.
This commit is contained in:
parent
e2645dec1c
commit
4a46a0193a
|
@ -432,7 +432,10 @@ static void test_simple_script(void)
|
||||||
IHTMLDocument2 *doc;
|
IHTMLDocument2 *doc;
|
||||||
|
|
||||||
SET_EXPECT(CreateInstance);
|
SET_EXPECT(CreateInstance);
|
||||||
|
|
||||||
doc = create_and_load_doc(simple_script_str);
|
doc = create_and_load_doc(simple_script_str);
|
||||||
|
if(!doc) return;
|
||||||
|
|
||||||
CHECK_CALLED(CreateInstance);
|
CHECK_CALLED(CreateInstance);
|
||||||
|
|
||||||
IHTMLDocument2_Release(doc);
|
IHTMLDocument2_Release(doc);
|
||||||
|
|
Loading…
Reference in New Issue