Commit 10fba143 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Return S_OK in IHTMLPluginsCollection::refresh.

parent 49cdebad
...@@ -459,8 +459,11 @@ static HRESULT WINAPI HTMLPluginsCollection_get_length(IHTMLPluginsCollection *i ...@@ -459,8 +459,11 @@ static HRESULT WINAPI HTMLPluginsCollection_get_length(IHTMLPluginsCollection *i
static HRESULT WINAPI HTMLPluginsCollection_refresh(IHTMLPluginsCollection *iface, VARIANT_BOOL reload) static HRESULT WINAPI HTMLPluginsCollection_refresh(IHTMLPluginsCollection *iface, VARIANT_BOOL reload)
{ {
HTMLPluginsCollection *This = impl_from_IHTMLPluginsCollection(iface); HTMLPluginsCollection *This = impl_from_IHTMLPluginsCollection(iface);
FIXME("(%p)->(%x)\n", This, reload);
return E_NOTIMPL; TRACE("(%p)->(%x)\n", This, reload);
/* Nothing to do here. */
return S_OK;
} }
static const IHTMLPluginsCollectionVtbl HTMLPluginsCollectionVtbl = { static const IHTMLPluginsCollectionVtbl HTMLPluginsCollectionVtbl = {
......
...@@ -5295,6 +5295,12 @@ static void test_plugins_col(IHTMLDocument2 *doc) ...@@ -5295,6 +5295,12 @@ static void test_plugins_col(IHTMLDocument2 *doc)
ok(hres == S_OK, "get_length failed: %08x\n", hres); ok(hres == S_OK, "get_length failed: %08x\n", hres);
ok(!len, "length = %d\n", len); ok(!len, "length = %d\n", len);
hres = IHTMLPluginsCollection_refresh(col, VARIANT_FALSE);
ok(hres == S_OK, "refresh failed: %08x\n", hres);
hres = IHTMLPluginsCollection_refresh(col, VARIANT_TRUE);
ok(hres == S_OK, "refresh failed: %08x\n", hres);
ref = IHTMLPluginsCollection_Release(col); ref = IHTMLPluginsCollection_Release(col);
ok(!ref, "ref=%d\n", ref); ok(!ref, "ref=%d\n", ref);
......
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