mshtml: Added IHTMLFrameBase2::put_src implementation.
This commit is contained in:
parent
bb60430de4
commit
f340e637f7
|
@ -91,8 +91,15 @@ static HRESULT WINAPI HTMLFrameBase_Invoke(IHTMLFrameBase *iface, DISPID dispIdM
|
||||||
static HRESULT WINAPI HTMLFrameBase_put_src(IHTMLFrameBase *iface, BSTR v)
|
static HRESULT WINAPI HTMLFrameBase_put_src(IHTMLFrameBase *iface, BSTR v)
|
||||||
{
|
{
|
||||||
HTMLFrameBase *This = HTMLFRAMEBASE_THIS(iface);
|
HTMLFrameBase *This = HTMLFRAMEBASE_THIS(iface);
|
||||||
FIXME("(%p)->(%s)\n", This, debugstr_w(v));
|
|
||||||
return E_NOTIMPL;
|
TRACE("(%p)->(%s)\n", This, debugstr_w(v));
|
||||||
|
|
||||||
|
if(!This->content_window || !This->element.node.doc || !This->element.node.doc->basedoc.window) {
|
||||||
|
FIXME("detached element\n");
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
|
return navigate_url(This->content_window, v, This->element.node.doc->basedoc.window->url);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI HTMLFrameBase_get_src(IHTMLFrameBase *iface, BSTR *p)
|
static HRESULT WINAPI HTMLFrameBase_get_src(IHTMLFrameBase *iface, BSTR *p)
|
||||||
|
|
Loading…
Reference in New Issue