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