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

Issue 12675002: [chromedriver] Implement command: executeAsyncScript and setScriptTimeout (Closed)

Created:
7 years, 9 months ago by chrisgao (Use stgao instead)
Modified:
7 years, 9 months ago
Reviewers:
craigdh, kkania
CC:
chromium-reviews, dennis_jeffrey
Visibility:
Public.

Description

[chromedriver] Implement command: executeAsyncScript and setScriptTimeout NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187187

Patch Set 1 #

Total comments: 22

Patch Set 2 : Address comments. #

Total comments: 7

Patch Set 3 : Address comments and add command setScriptTimeout #

Total comments: 1

Patch Set 4 : Address +5000 timeout problem. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -1 line) Patch
M chrome/chrome_tests.gypi View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/chromedriver.py View 1 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/command_executor_impl.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/test/chromedriver/js/execute_async_script.js View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/test/chromedriver/js/execute_async_script_test.html View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/run_py_tests.py View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/session_commands.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/session_commands.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/status.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/status.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/window_commands.h View 1 1 chunk +8 lines, -1 line 0 comments Download
M chrome/test/chromedriver/window_commands.cc View 1 2 3 2 chunks +84 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
chrisgao (Use stgao instead)
ptal Is the code sufficient to deal with page or frame unload?
7 years, 9 months ago (2013-03-08 16:31:55 UTC) #1
kkania
https://codereview.chromium.org/12675002/diff/1/chrome/test/chromedriver/js/execute_async_script.js File chrome/test/chromedriver/js/execute_async_script.js (right): https://codereview.chromium.org/12675002/diff/1/chrome/test/chromedriver/js/execute_async_script.js#newcode6 chrome/test/chromedriver/js/execute_async_script.js:6: * Execute the given script and save its result. ...
7 years, 9 months ago (2013-03-08 17:25:11 UTC) #2
chrisgao (Use stgao instead)
ptal https://codereview.chromium.org/12675002/diff/1/chrome/test/chromedriver/js/execute_async_script.js File chrome/test/chromedriver/js/execute_async_script.js (right): https://codereview.chromium.org/12675002/diff/1/chrome/test/chromedriver/js/execute_async_script.js#newcode6 chrome/test/chromedriver/js/execute_async_script.js:6: * Execute the given script and save its ...
7 years, 9 months ago (2013-03-08 21:06:24 UTC) #3
kkania
https://codereview.chromium.org/12675002/diff/7001/chrome/test/chromedriver/js/execute_async_script.js File chrome/test/chromedriver/js/execute_async_script.js (right): https://codereview.chromium.org/12675002/diff/7001/chrome/test/chromedriver/js/execute_async_script.js#newcode29 chrome/test/chromedriver/js/execute_async_script.js:29: info['id']++; instead of info['id'] style, do info.id; same for ...
7 years, 9 months ago (2013-03-08 21:56:50 UTC) #4
chrisgao (Use stgao instead)
ptal https://codereview.chromium.org/12675002/diff/7001/chrome/test/chromedriver/js/execute_async_script.js File chrome/test/chromedriver/js/execute_async_script.js (right): https://codereview.chromium.org/12675002/diff/7001/chrome/test/chromedriver/js/execute_async_script.js#newcode29 chrome/test/chromedriver/js/execute_async_script.js:29: info['id']++; On 2013/03/08 21:56:50, kkania wrote: > instead ...
7 years, 9 months ago (2013-03-08 23:28:25 UTC) #5
kkania
On 2013/03/08 23:28:25, Shuotao Gao wrote: > ptal > > https://codereview.chromium.org/12675002/diff/7001/chrome/test/chromedriver/js/execute_async_script.js > File chrome/test/chromedriver/js/execute_async_script.js (right): ...
7 years, 9 months ago (2013-03-09 00:31:02 UTC) #6
kkania
lgtm once you fix the arbitrary 5000 timeout problem
7 years, 9 months ago (2013-03-09 00:55:20 UTC) #7
kkania
On 2013/03/09 00:55:20, kkania wrote: > lgtm once you fix the arbitrary 5000 timeout problem ...
7 years, 9 months ago (2013-03-09 05:52:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrisgao@chromium.org/12675002/32013
7 years, 9 months ago (2013-03-10 01:54:03 UTC) #9
commit-bot: I haz the power
7 years, 9 months ago (2013-03-10 03:59:10 UTC) #10
Message was sent while issue was closed.
Change committed as 187187

Powered by Google App Engine
This is Rietveld 408576698