Commit d1e49da2 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Reimplement nsIURL::GetFileExtension on top of IUri API.

parent fc2b645d
......@@ -2492,11 +2492,7 @@ static nsresult NSAPI nsURL_GetFileExtension(nsIURL *iface, nsACString *aFileExt
TRACE("(%p)->(%p)\n", This, aFileExtension);
if(This->nsurl)
return nsIURL_GetFileExtension(This->nsurl, aFileExtension);
FIXME("default action not implemented\n");
return NS_ERROR_NOT_IMPLEMENTED;
return get_uri_string(This, Uri_PROPERTY_EXTENSION, aFileExtension);
}
static nsresult NSAPI nsURL_SetFileExtension(nsIURL *iface, const nsACString *aFileExtension)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment