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

Unified Diff: chrome/test/chromedriver/command_executor_impl.cc

Issue 12675002: [chromedriver] Implement command: executeAsyncScript and setScriptTimeout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 7 years, 9 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/test/chromedriver/command_executor_impl.cc
diff --git a/chrome/test/chromedriver/command_executor_impl.cc b/chrome/test/chromedriver/command_executor_impl.cc
index bf7927a6c405eeeac4c2a16020530661cae597d7..c047c5e2b2633ef2e2e7b8561a4f3b9aad6e39ab 100644
--- a/chrome/test/chromedriver/command_executor_impl.cc
+++ b/chrome/test/chromedriver/command_executor_impl.cc
@@ -102,6 +102,8 @@ void CommandExecutorImpl::Init() {
window_command_map[CommandNames::kGet] = base::Bind(&ExecuteGet);
window_command_map[CommandNames::kExecuteScript] =
base::Bind(&ExecuteExecuteScript);
+ window_command_map[CommandNames::kExecuteAsyncScript] =
+ base::Bind(&ExecuteExecuteAsyncScript);
window_command_map[CommandNames::kSwitchToFrame] =
base::Bind(&ExecuteSwitchToFrame);
window_command_map[CommandNames::kGetTitle] =

Powered by Google App Engine
This is Rietveld 408576698