Commit a7c9ae4d authored by Adam Petaccia's avatar Adam Petaccia Committed by Alexandre Julliard

mshtml: Implement HTMLScriptElement_put_type.

parent b4bfa6e1
...@@ -214,8 +214,18 @@ static HRESULT WINAPI HTMLScriptElement_get_onerror(IHTMLScriptElement *iface, V ...@@ -214,8 +214,18 @@ static HRESULT WINAPI HTMLScriptElement_get_onerror(IHTMLScriptElement *iface, V
static HRESULT WINAPI HTMLScriptElement_put_type(IHTMLScriptElement *iface, BSTR v) static HRESULT WINAPI HTMLScriptElement_put_type(IHTMLScriptElement *iface, BSTR v)
{ {
HTMLScriptElement *This = HTMLSCRIPT_THIS(iface); HTMLScriptElement *This = HTMLSCRIPT_THIS(iface);
FIXME("(%p)->(%s)\n", This, debugstr_w(v)); nsAString nstype_str;
return E_NOTIMPL; nsresult nsres;
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
nsAString_Init(&nstype_str, v);
nsres = nsIDOMHTMLScriptElement_SetType(This->nsscript, &nstype_str);
if (NS_FAILED(nsres))
ERR("SetType failed: %08x\n", nsres);
nsAString_Finish (&nstype_str);
return S_OK;
} }
static HRESULT WINAPI HTMLScriptElement_get_type(IHTMLScriptElement *iface, BSTR *p) static HRESULT WINAPI HTMLScriptElement_get_type(IHTMLScriptElement *iface, BSTR *p)
......
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