diff options
Diffstat (limited to 'chrome/test/perf/dom_checker_uitest.cc')
-rw-r--r-- | chrome/test/perf/dom_checker_uitest.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/test/perf/dom_checker_uitest.cc b/chrome/test/perf/dom_checker_uitest.cc index f22cce4..f966250 100644 --- a/chrome/test/perf/dom_checker_uitest.cc +++ b/chrome/test/perf/dom_checker_uitest.cc @@ -143,24 +143,20 @@ class DomCheckerTest : public UITest { } bool WaitUntilTestCompletes(TabProxy* tab) { - return WaitUntilJavaScriptCondition( - tab, - std::wstring(), + return WaitUntilJavaScriptCondition(tab, L"", L"window.domAutomationController.send(automation.IsDone());", TestTimeouts::large_test_timeout()); } bool GetTestCount(TabProxy* tab, int* test_count) { - return tab->ExecuteAndExtractInt( - std::wstring(), + return tab->ExecuteAndExtractInt(L"", L"window.domAutomationController.send(automation.GetTestCount());", test_count); } bool GetTestsFailed(TabProxy* tab, ResultsSet* tests_failed) { std::wstring json_wide; - bool succeeded = tab->ExecuteAndExtractString( - std::wstring(), + bool succeeded = tab->ExecuteAndExtractString(L"", L"window.domAutomationController.send(" L" JSON.stringify(automation.GetFailures()));", &json_wide); |