From: Jacek Caban <jacek@codeweavers.com> --- dlls/urlmon/tests/url.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c index e24f6ed5189..16742d20ff7 100644 --- a/dlls/urlmon/tests/url.c +++ b/dlls/urlmon/tests/url.c @@ -1323,7 +1323,7 @@ static ULONG WINAPI HttpSecurity_Release(IHttpSecurity *iface) static HRESULT WINAPI HttpSecurity_GetWindow(IHttpSecurity *iface, REFGUID rguidReason, HWND *phwnd) { if(IsEqualGUID(rguidReason, &IID_IHttpSecurity)) - CHECK_EXPECT(GetWindow_IHttpSecurity); + CHECK_EXPECT2(GetWindow_IHttpSecurity); else if(IsEqualGUID(rguidReason, &IID_IWindowForBindingUI)) CHECK_EXPECT2(GetWindow_IWindowForBindingUI); else if(IsEqualGUID(rguidReason, &IID_ICodeInstall)) @@ -3255,10 +3255,15 @@ static void test_BindToStorage(int protocol, DWORD flags, DWORD t) CHECK_CALLED(QueryInterface_IHttpSecurity); CHECK_CALLED(QueryService_IHttpSecurity); CHECK_CALLED(OnSecurityProblem); + if(onsecurityproblem_hres == S_FALSE) + CHECK_CALLED(GetWindow_IHttpSecurity); + else + CHECK_NOT_CALLED(GetWindow_IHttpSecurity); }else { CHECK_NOT_CALLED(QueryInterface_IHttpSecurity); CHECK_NOT_CALLED(QueryService_IHttpSecurity); CHECK_NOT_CALLED(OnSecurityProblem); + CHECK_NOT_CALLED(GetWindow_IHttpSecurity); } } if(!no_callback) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10738