Jacek Caban : mshtml: Added IHTMLFrameBase2::get_readyState implementation.
Alexandre Julliard
julliard at winehq.org
Tue Dec 1 09:19:40 CST 2009
Module: wine
Branch: master
Commit: a369d5e733684f30726e657d3d6a7ec0fd8e1673
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a369d5e733684f30726e657d3d6a7ec0fd8e1673
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Nov 30 18:02:25 2009 +0100
mshtml: Added IHTMLFrameBase2::get_readyState implementation.
---
dlls/mshtml/htmlframebase.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlframebase.c b/dlls/mshtml/htmlframebase.c
index d209d7b..cda6849 100644
--- a/dlls/mshtml/htmlframebase.c
+++ b/dlls/mshtml/htmlframebase.c
@@ -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)
More information about the wine-cvs
mailing list