ieframe: Improved debug traces.
This commit is contained in:
parent
e9ac8e568b
commit
fba08e34c4
|
@ -49,6 +49,8 @@ const char *debugstr_variant(const VARIANT *v)
|
||||||
return wine_dbg_sprintf("{VT_DISPATCH: %p}", V_DISPATCH(v));
|
return wine_dbg_sprintf("{VT_DISPATCH: %p}", V_DISPATCH(v));
|
||||||
case VT_BOOL:
|
case VT_BOOL:
|
||||||
return wine_dbg_sprintf("{VT_BOOL: %x}", V_BOOL(v));
|
return wine_dbg_sprintf("{VT_BOOL: %x}", V_BOOL(v));
|
||||||
|
case VT_ERROR:
|
||||||
|
return wine_dbg_sprintf("{VT_ERROR: %08x}", V_ERROR(v));
|
||||||
default:
|
default:
|
||||||
return wine_dbg_sprintf("{vt %d}", V_VT(v));
|
return wine_dbg_sprintf("{vt %d}", V_VT(v));
|
||||||
}
|
}
|
||||||
|
|
|
@ -928,11 +928,9 @@ HRESULT navigate_url(DocHost *This, LPCWSTR url, const VARIANT *Flags,
|
||||||
|
|
||||||
TRACE("navigating to %s\n", debugstr_w(url));
|
TRACE("navigating to %s\n", debugstr_w(url));
|
||||||
|
|
||||||
if((Flags && V_VT(Flags) != VT_EMPTY)
|
if((Flags && V_VT(Flags) != VT_EMPTY && V_VT(Flags) != VT_ERROR)
|
||||||
|| (TargetFrameName && V_VT(TargetFrameName) != VT_EMPTY))
|
|| (TargetFrameName && V_VT(TargetFrameName) != VT_EMPTY && V_VT(TargetFrameName) != VT_ERROR))
|
||||||
FIXME("Unsupported args (Flags %p:%d; TargetFrameName %p:%d)\n",
|
FIXME("Unsupported args (Flags %s; TargetFrameName %s)\n", debugstr_variant(Flags), debugstr_variant(TargetFrameName));
|
||||||
Flags, Flags ? V_VT(Flags) : -1, TargetFrameName,
|
|
||||||
TargetFrameName ? V_VT(TargetFrameName) : -1);
|
|
||||||
|
|
||||||
if(PostData && V_VT(PostData) == (VT_ARRAY | VT_UI1) && V_ARRAY(PostData)) {
|
if(PostData && V_VT(PostData) == (VT_ARRAY | VT_UI1) && V_ARRAY(PostData)) {
|
||||||
SafeArrayAccessData(V_ARRAY(PostData), (void**)&post_data);
|
SafeArrayAccessData(V_ARRAY(PostData), (void**)&post_data);
|
||||||
|
|
Loading…
Reference in New Issue