Commit f8c96342 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Implement HTMLElementCollection's toString.

parent de00887d
...@@ -301,8 +301,10 @@ static HRESULT WINAPI HTMLElementCollection_toString(IHTMLElementCollection *ifa ...@@ -301,8 +301,10 @@ static HRESULT WINAPI HTMLElementCollection_toString(IHTMLElementCollection *ifa
BSTR *String) BSTR *String)
{ {
HTMLElementCollection *This = impl_from_IHTMLElementCollection(iface); 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, static HRESULT WINAPI HTMLElementCollection_put_length(IHTMLElementCollection *iface,
......
...@@ -210,6 +210,7 @@ sync_test("builtin_toString", function() { ...@@ -210,6 +210,7 @@ sync_test("builtin_toString", function() {
if(clientRects) test("clientRect", clientRects[0], "ClientRect"); if(clientRects) test("clientRect", clientRects[0], "ClientRect");
if(clientRects) test("clientRects", clientRects, "ClientRectList"); if(clientRects) test("clientRects", clientRects, "ClientRectList");
if(currentStyle) test("currentStyle", currentStyle, "MSCurrentStyleCSSProperties"); if(currentStyle) test("currentStyle", currentStyle, "MSCurrentStyleCSSProperties");
test("elements", document.getElementsByTagName("body"), "HTMLCollection");
test("history", window.history, "History"); test("history", window.history, "History");
test("implementation", document.implementation, "DOMImplementation"); test("implementation", document.implementation, "DOMImplementation");
if(localStorage) test("localStorage", localStorage, "Storage"); if(localStorage) test("localStorage", localStorage, "Storage");
......
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