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

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: 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 070c2c795d93dc8e358a745d5c5d3ebd02a31541..363575fba1c3c7cb7a26884c08f089c88a9b9468 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