mshtml: Implement HTMLElementCollection's toString.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gabriel Ivăncescu 2021-10-07 16:52:33 +03:00 committed by Alexandre Julliard
parent de00887d2c
commit f8c9634262
2 changed files with 5 additions and 2 deletions

View file

@ -301,8 +301,10 @@ static HRESULT WINAPI HTMLElementCollection_toString(IHTMLElementCollection *ifa
BSTR *String)
{
HTMLElementCollection *This = impl_from_IHTMLElementCollection(iface);
FIXME("(%p)->(%p)\n", This, String);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, String);
return dispex_to_string(&This->dispex, String);
}
static HRESULT WINAPI HTMLElementCollection_put_length(IHTMLElementCollection *iface,

View file

@ -210,6 +210,7 @@ sync_test("builtin_toString", function() {
if(clientRects) test("clientRect", clientRects[0], "ClientRect");
if(clientRects) test("clientRects", clientRects, "ClientRectList");
if(currentStyle) test("currentStyle", currentStyle, "MSCurrentStyleCSSProperties");
test("elements", document.getElementsByTagName("body"), "HTMLCollection");
test("history", window.history, "History");
test("implementation", document.implementation, "DOMImplementation");
if(localStorage) test("localStorage", localStorage, "Storage");