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

Unified Diff: chrome/browser/chromeos/login/wizard_controller_browsertest.cc

Issue 2478803003: Remove DOMAutomationController::automation_id_ (Closed)
Patch Set: Rebasing... Created 3 years, 5 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/chromeos/login/wizard_controller_browsertest.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
index 4d1c9e3b4be412eedc01a547782e470e5883087d..156c740a35dc466168aad2abd9eb31bc2d36fe2e 100644
--- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
+++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
@@ -275,10 +275,8 @@ class WizardControllerTest : public WizardInProcessBrowserTest {
run_loop.Run();
}
- bool JSExecute(const std::string& expression) {
- return content::ExecuteScript(
- GetWebContents(),
- "window.domAutomationController.send(!!(" + expression + "));");
+ bool JSExecute(const std::string& script) {
+ return content::ExecuteScript(GetWebContents(), script);
}
bool JSExecuteBooleanExpression(const std::string& expression) {
« no previous file with comments | « chrome/browser/chromeos/login/saml/saml_browsertest.cc ('k') | chrome/browser/extensions/browsertest_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698