mshtml: Return S_OK in IHTMLPluginsCollection::refresh.
This commit is contained in:
parent
49cdebad4b
commit
10fba143f7
dlls/mshtml
|
@ -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 = {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue