mshtml/tests: skip tests if gecko is not available

Jacek Caban jacek at codeweavers.com
Sun Feb 8 13:44:56 CST 2009


Hi Austin,


Austin English wrote:

-    hres = IHTMLDocument2_get_body(doc, &body);
-    ok(hres == S_OK, "get_body failed: %08x\n", hres);
-
     if(body) {
+        hres = IHTMLDocument2_get_body(doc, &body);
+        ok(hres == S_OK, "get_body failed: %08x\n", hres);


You check body before getting it, so it can't work and these tests would 
always be skipped. I've sent a correct version.


Jacek



More information about the wine-devel mailing list