mshtml: Return success in SetCorsIncludeCredentials and SetCorsMode.

Fixes regression in loading site-provided fonts.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2015-12-04 17:32:47 +01:00 committed by Alexandre Julliard
parent 4dc8a96f78
commit 7c4c93a2bf
1 changed files with 4 additions and 4 deletions

View File

@ -1922,8 +1922,8 @@ static nsresult NSAPI nsHttpChannelInternal_SetCorsIncludeCredentials(nsIHttpCha
cpp_bool aCorsIncludeCredentials)
{
nsChannel *This = impl_from_nsIHttpChannelInternal(iface);
FIXME("(%p)->(%x)\n", This, aCorsIncludeCredentials);
return NS_ERROR_NOT_IMPLEMENTED;
TRACE("(%p)->(%x)\n", This, aCorsIncludeCredentials);
return NS_OK;
}
static nsresult NSAPI nsHttpChannelInternal_GetCorsMode(nsIHttpChannelInternal *iface, UINT32 *aCorsMode)
@ -1936,8 +1936,8 @@ static nsresult NSAPI nsHttpChannelInternal_GetCorsMode(nsIHttpChannelInternal *
static nsresult NSAPI nsHttpChannelInternal_SetCorsMode(nsIHttpChannelInternal *iface, UINT32 aCorsMode)
{
nsChannel *This = impl_from_nsIHttpChannelInternal(iface);
FIXME("(%p)->(%d)\n", This, aCorsMode);
return NS_ERROR_NOT_IMPLEMENTED;
TRACE("(%p)->(%d)\n", This, aCorsMode);
return NS_OK;
}
static nsresult NSAPI nsHttpChannelInternal_GetTopWindowURI(nsIHttpChannelInternal *iface, nsIURI **aTopWindowURI)