Jacek Caban : mshtml: Added IHTMLScriptElement:: get_readyState implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 9 13:14:34 CDT 2014


Module: wine
Branch: master
Commit: 37869b7a08913e19864dc00026cdba0ce28929cc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=37869b7a08913e19864dc00026cdba0ce28929cc

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Oct  9 16:09:07 2014 +0200

mshtml: Added IHTMLScriptElement::get_readyState implementation.

---

 dlls/mshtml/htmlscript.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlscript.c b/dlls/mshtml/htmlscript.c
index 1a61398..61e1ee3 100644
--- a/dlls/mshtml/htmlscript.c
+++ b/dlls/mshtml/htmlscript.c
@@ -281,8 +281,10 @@ static HRESULT WINAPI HTMLScriptElement_get_defer(IHTMLScriptElement *iface, VAR
 static HRESULT WINAPI HTMLScriptElement_get_readyState(IHTMLScriptElement *iface, BSTR *p)
 {
     HTMLScriptElement *This = impl_from_IHTMLScriptElement(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, p);
+
+    return get_readystate_string(This->readystate, p);
 }
 
 static HRESULT WINAPI HTMLScriptElement_put_onerror(IHTMLScriptElement *iface, VARIANT v)




More information about the wine-cvs mailing list