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

Issue 12226026: [ChromeDriver] Select the main frame if a non-existant child frame is targeted. (Closed)

Created:
7 years, 10 months ago by craigdh
Modified:
7 years, 10 months ago
CC:
chromium-reviews, vsevik, yurys, pfeldman
Visibility:
Public.

Description

[ChromeDriver] Select the main frame if a non-existant child frame is targeted. BUG=169092 TEST=run_py_tests.py Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181233

Patch Set 1 #

Total comments: 9

Patch Set 2 : applies chrisgao's suggestions #

Patch Set 3 : watch for message and make test non-racey #

Total comments: 4

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -69 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/commands_unittest.cc View 1 2 3 2 chunks +1 line, -50 lines 0 comments Download
M chrome/test/chromedriver/devtools_client_impl.cc View 1 2 2 chunks +22 lines, -1 line 0 comments Download
M chrome/test/chromedriver/run_py_tests.py View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/session.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/session.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/session_command.cc View 1 2 chunks +10 lines, -18 lines 0 comments Download
M chrome/test/chromedriver/session_unittest.cc View 2 chunks +43 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/status.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/chromedriver/status.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/test/chromedriver/stub_chrome.h View 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/test/chromedriver/stub_chrome.cc View 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
craigdh
https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/session_command.cc File chrome/test/chromedriver/session_command.cc (right): https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/session_command.cc#newcode8 chrome/test/chromedriver/session_command.cc:8: #include "base/logging.h" Not needed, I'll remove it in the ...
7 years, 10 months ago (2013-02-06 00:55:59 UTC) #1
chrisgao (Use stgao instead)
https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/run_py_tests.py File chrome/test/chromedriver/run_py_tests.py (right): https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/run_py_tests.py#newcode114 chrome/test/chromedriver/run_py_tests.py:114: lambda: self._driver.ExecuteScript('return window.top == window'), 5)) Are 5 seconds ...
7 years, 10 months ago (2013-02-06 01:32:14 UTC) #2
kkania
https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/devtools_client_impl.h File chrome/test/chromedriver/devtools_client_impl.h (right): https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/devtools_client_impl.h#newcode32 chrome/test/chromedriver/devtools_client_impl.h:32: kContextIdNotFound = -32000, -32000 just means generic server error. ...
7 years, 10 months ago (2013-02-06 01:41:25 UTC) #3
craigdh
https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/devtools_client_impl.h File chrome/test/chromedriver/devtools_client_impl.h (right): https://codereview.chromium.org/12226026/diff/1/chrome/test/chromedriver/devtools_client_impl.h#newcode32 chrome/test/chromedriver/devtools_client_impl.h:32: kContextIdNotFound = -32000, On 2013/02/06 01:41:25, kkania wrote: > ...
7 years, 10 months ago (2013-02-06 18:52:49 UTC) #4
craigdh
ptal.
7 years, 10 months ago (2013-02-06 19:54:02 UTC) #5
kkania
lgtm https://codereview.chromium.org/12226026/diff/5015/chrome/test/chromedriver/run_py_tests.py File chrome/test/chromedriver/run_py_tests.py (right): https://codereview.chromium.org/12226026/diff/5015/chrome/test/chromedriver/run_py_tests.py#newcode12 chrome/test/chromedriver/run_py_tests.py:12: import time x https://codereview.chromium.org/12226026/diff/5015/chrome/test/chromedriver/session_command.cc File chrome/test/chromedriver/session_command.cc (right): https://codereview.chromium.org/12226026/diff/5015/chrome/test/chromedriver/session_command.cc#newcode37 ...
7 years, 10 months ago (2013-02-06 23:45:26 UTC) #6
craigdh
https://codereview.chromium.org/12226026/diff/5015/chrome/test/chromedriver/run_py_tests.py File chrome/test/chromedriver/run_py_tests.py (right): https://codereview.chromium.org/12226026/diff/5015/chrome/test/chromedriver/run_py_tests.py#newcode12 chrome/test/chromedriver/run_py_tests.py:12: import time On 2013/02/06 23:45:26, kkania wrote: > x ...
7 years, 10 months ago (2013-02-07 00:05:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/12226026/11004
7 years, 10 months ago (2013-02-07 00:20:54 UTC) #8
commit-bot: I haz the power
7 years, 10 months ago (2013-02-07 06:17:36 UTC) #9
Message was sent while issue was closed.
Change committed as 181233

Powered by Google App Engine
This is Rietveld 408576698