Commit 4a46a019 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed crash in tests if Gecko is not available.

parent e2645dec
......@@ -432,7 +432,10 @@ static void test_simple_script(void)
IHTMLDocument2 *doc;
SET_EXPECT(CreateInstance);
doc = create_and_load_doc(simple_script_str);
if(!doc) return;
CHECK_CALLED(CreateInstance);
IHTMLDocument2_Release(doc);
......
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