mshtml/tests: Avoid an http -> https redirection.

Francois Gouget fgouget at free.fr
Mon Sep 1 05:24:41 CDT 2014


The redirection triggers a warning dialog with some Internet Explorer versions, which causes the test to hang.
---

This fixes an mshtml/tests failure which started on 2014/8/11 and 
impacted the Windows 2008 test VM and my Windows 2000 and XP VMs.

With help from Indrek Altpere.


 dlls/mshtml/tests/events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 2f99699..7360024 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -1844,7 +1844,7 @@ static void test_imgload(IHTMLDocument2 *doc)
     ok(V_DISPATCH(&v) == (IDispatch*)&img_onerror_obj, "V_DISPATCH(onerror) != onerrorFunc\n");
     VariantClear(&v);
 
-    str = a2bstr("http://www.winehq.org/images/winehq_logo_text.png");
+    str = a2bstr("https://www.winehq.org/images/winehq_logo_text.png");
     hres = IHTMLImgElement_put_src(img, str);
     ok(hres == S_OK, "put_src failed: %08x\n", hres);
     SysFreeString(str);
-- 
2.1.0




More information about the wine-patches mailing list