mshtml: Added get_body test.

This commit is contained in:
Jacek Caban 2007-09-15 16:06:10 +02:00 committed by Alexandre Julliard
parent fac2121e6d
commit d17a1afe8b
1 changed files with 3 additions and 0 deletions

View File

@ -96,7 +96,10 @@ static void test_doc_elem(IHTMLDocument2 *doc)
ok(hres == S_OK, "get_documentElement failed: %08x\n", hres); ok(hres == S_OK, "get_documentElement failed: %08x\n", hres);
test_node_name((IUnknown*)elem, "HTML"); test_node_name((IUnknown*)elem, "HTML");
IHTMLElement_Release(elem);
hres = IHTMLDocument2_get_body(doc, &elem);
test_node_name((IUnknown*)elem, "BODY");
IHTMLElement_Release(elem); IHTMLElement_Release(elem);
} }