mshtml: Implement HTMLPerformanceNavigation'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:38 +03:00 committed by Alexandre Julliard
parent 909839a1d6
commit 333a127baf
2 changed files with 5 additions and 2 deletions

View File

@ -1970,8 +1970,10 @@ static HRESULT WINAPI HTMLPerformanceNavigation_get_redirectCount(IHTMLPerforman
static HRESULT WINAPI HTMLPerformanceNavigation_toString(IHTMLPerformanceNavigation *iface, BSTR *string)
{
HTMLPerformanceNavigation *This = impl_from_IHTMLPerformanceNavigation(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 HTMLPerformanceNavigation_toJSON(IHTMLPerformanceNavigation *iface, VARIANT *p)

View File

@ -217,6 +217,7 @@ sync_test("builtin_toString", function() {
test("location", window.location, "Object", window.location.href);
test("navigator", window.navigator, "Navigator");
test("performance", window.performance, "Performance");
test("performanceNavigation", window.performance.navigation, "PerformanceNavigation");
test("screen", window.screen, "Screen");
test("sessionStorage", window.sessionStorage, "Storage");
test("style", document.body.style, "MSStyleCSSProperties");