mshtml: Return S_OK in IHTMLPluginsCollection::refresh.

This commit is contained in:
Jacek Caban 2015-03-06 13:01:29 +01:00 committed by Alexandre Julliard
parent 49cdebad4b
commit 10fba143f7
2 changed files with 11 additions and 2 deletions

View File

@ -459,8 +459,11 @@ static HRESULT WINAPI HTMLPluginsCollection_get_length(IHTMLPluginsCollection *i
static HRESULT WINAPI HTMLPluginsCollection_refresh(IHTMLPluginsCollection *iface, VARIANT_BOOL reload)
{
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 = {

View File

@ -5295,6 +5295,12 @@ static void test_plugins_col(IHTMLDocument2 *doc)
ok(hres == S_OK, "get_length failed: %08x\n", hres);
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);
ok(!ref, "ref=%d\n", ref);