mshtml: Added IHTMLFrameBase2::get_readyState implementation.

This commit is contained in:
Jacek Caban 2009-11-30 18:02:25 +01:00 committed by Alexandre Julliard
parent f340e637f7
commit a369d5e733
1 changed files with 9 additions and 2 deletions

View File

@ -351,8 +351,15 @@ static HRESULT WINAPI HTMLFrameBase2_get_onreadystatechange(IHTMLFrameBase2 *ifa
static HRESULT WINAPI HTMLFrameBase2_get_readyState(IHTMLFrameBase2 *iface, BSTR *p)
{
HTMLFrameBase *This = HTMLFRAMEBASE2_THIS(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, p);
if(!This->content_window || !This->content_window->doc) {
FIXME("no document associated\n");
return E_FAIL;
}
return IHTMLDocument2_get_readyState(HTMLDOC(&This->content_window->doc->basedoc), p);
}
static HRESULT WINAPI HTMLFrameBase2_put_allowTransparency(IHTMLFrameBase2 *iface, VARIANT_BOOL v)