Jacek Caban : mshtml: Added IHTMLDocument2::put_URL implementation.
Module: wine Branch: master Commit: 34b41084a106260e84acad0c120210698dbc022e URL: http://source.winehq.org/git/wine.git/?a=commit;h=34b41084a106260e84acad0c12... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Apr 17 12:10:26 2012 +0200 mshtml: Added IHTMLDocument2::put_URL implementation. --- dlls/mshtml/htmldoc.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c index a5b20bc..98bdcab 100644 --- a/dlls/mshtml/htmldoc.c +++ b/dlls/mshtml/htmldoc.c @@ -595,8 +595,15 @@ static HRESULT WINAPI HTMLDocument_get_lastModified(IHTMLDocument2 *iface, BSTR static HRESULT WINAPI HTMLDocument_put_URL(IHTMLDocument2 *iface, BSTR v) { HTMLDocument *This = impl_from_IHTMLDocument2(iface); - FIXME("(%p)->(%s)\n", This, debugstr_w(v)); - return E_NOTIMPL; + + TRACE("(%p)->(%s)\n", This, debugstr_w(v)); + + if(!This->window) { + FIXME("No window available\n"); + return E_FAIL; + } + + return navigate_url(This->window, v, This->window->url); } static HRESULT WINAPI HTMLDocument_get_URL(IHTMLDocument2 *iface, BSTR *p)
participants (1)
-
Alexandre Julliard