Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: chrome/browser/automation/automation_tab_helper_browsertest.cc

Issue 11728003: Change ExecuteJavaScript* helper functions in browser_test_utils.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding files for gpu_tests and NaCl browser tests. Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/automation_tab_helper_browsertest.cc
diff --git a/chrome/browser/automation/automation_tab_helper_browsertest.cc b/chrome/browser/automation/automation_tab_helper_browsertest.cc
index 084f9e7e7af509d97f738278eb86f646561c7df4..d630a4973c2196268c31ec60531e76182f4a64e8 100644
--- a/chrome/browser/automation/automation_tab_helper_browsertest.cc
+++ b/chrome/browser/automation/automation_tab_helper_browsertest.cc
@@ -93,7 +93,7 @@ class AutomationTabHelperBrowserTest : public InProcessBrowserTest {
chrome::GetActiveWebContents(browser())->GetRenderViewHost();
if (wait_for_response) {
ASSERT_TRUE(content::ExecuteJavaScript(
- host, L"", ASCIIToWide(script)));
+ host, "", script));
} else {
script += "window.domAutomationController.setAutomationId(0);"
"window.domAutomationController.send(0);";
« no previous file with comments | « chrome/browser/automation/automation_misc_browsertest.cc ('k') | chrome/browser/browser_keyevents_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698