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

mshtml: Implement HTMLPerformance's toString.

parent 14c190fc
...@@ -2161,8 +2161,10 @@ static HRESULT WINAPI HTMLPerformance_get_timing(IHTMLPerformance *iface, IHTMLP ...@@ -2161,8 +2161,10 @@ static HRESULT WINAPI HTMLPerformance_get_timing(IHTMLPerformance *iface, IHTMLP
static HRESULT WINAPI HTMLPerformance_toString(IHTMLPerformance *iface, BSTR *string) static HRESULT WINAPI HTMLPerformance_toString(IHTMLPerformance *iface, BSTR *string)
{ {
HTMLPerformance *This = impl_from_IHTMLPerformance(iface); HTMLPerformance *This = impl_from_IHTMLPerformance(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 HTMLPerformance_toJSON(IHTMLPerformance *iface, VARIANT *var) static HRESULT WINAPI HTMLPerformance_toJSON(IHTMLPerformance *iface, VARIANT *var)
......
...@@ -216,6 +216,7 @@ sync_test("builtin_toString", function() { ...@@ -216,6 +216,7 @@ sync_test("builtin_toString", function() {
if(localStorage) test("localStorage", localStorage, "Storage"); if(localStorage) test("localStorage", localStorage, "Storage");
test("location", window.location, "Object", window.location.href); test("location", window.location, "Object", window.location.href);
test("navigator", window.navigator, "Navigator"); test("navigator", window.navigator, "Navigator");
test("performance", window.performance, "Performance");
test("screen", window.screen, "Screen"); test("screen", window.screen, "Screen");
test("sessionStorage", window.sessionStorage, "Storage"); test("sessionStorage", window.sessionStorage, "Storage");
test("style", document.body.style, "MSStyleCSSProperties"); test("style", document.body.style, "MSStyleCSSProperties");
......
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