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

Issue 23542005: [chromedriver] Improve timeout behavior. Prompted by user who executes script on busy page. (Closed)

Created:
7 years, 3 months ago by kkania
Modified:
7 years, 3 months ago
Reviewers:
frankf
CC:
chromium-reviews, cbentzel+watch_chromium.org, vsevik, frankf, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman, chrisgao (Use stgao instead)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[chromedriver] Improve timeout behavior. Prompted by user who executes script on busy page. -change session timeout to base::TimeDelta -change command timeout to 10m -refactor and simplify wait for events -also, fix some assertions on windows with unzipping BUG=none R=frankf@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220476

Patch Set 1 : . #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -42 lines) Patch
M chrome/test/chromedriver/chrome/devtools_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome/devtools_client_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/devtools_client_impl.cc View 7 chunks +17 lines, -26 lines 3 comments Download
M chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/net/sync_websocket_impl.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/test/chromedriver/session.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/session.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/test/chromedriver/session_commands.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/chromedriver/util.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kkania
7 years, 3 months ago (2013-08-28 22:33:07 UTC) #1
frankf
https://codereview.chromium.org/23542005/diff/3001/chrome/test/chromedriver/chrome/devtools_client_impl.cc File chrome/test/chromedriver/chrome/devtools_client_impl.cc (right): https://codereview.chromium.org/23542005/diff/3001/chrome/test/chromedriver/chrome/devtools_client_impl.cc#newcode261 chrome/test/chromedriver/chrome/devtools_client_impl.cc:261: switch (socket_->ReceiveNextMessage(&message, timeout)) { IIRC, the reason we didn't ...
7 years, 3 months ago (2013-08-28 23:15:49 UTC) #2
kkania
https://codereview.chromium.org/23542005/diff/3001/chrome/test/chromedriver/chrome/devtools_client_impl.cc File chrome/test/chromedriver/chrome/devtools_client_impl.cc (right): https://codereview.chromium.org/23542005/diff/3001/chrome/test/chromedriver/chrome/devtools_client_impl.cc#newcode261 chrome/test/chromedriver/chrome/devtools_client_impl.cc:261: switch (socket_->ReceiveNextMessage(&message, timeout)) { On 2013/08/28 23:15:50, frankf wrote: ...
7 years, 3 months ago (2013-08-29 14:07:45 UTC) #3
frankf
https://codereview.chromium.org/23542005/diff/3001/chrome/test/chromedriver/chrome/devtools_client_impl.cc File chrome/test/chromedriver/chrome/devtools_client_impl.cc (right): https://codereview.chromium.org/23542005/diff/3001/chrome/test/chromedriver/chrome/devtools_client_impl.cc#newcode242 chrome/test/chromedriver/chrome/devtools_client_impl.cc:242: const base::TimeDelta& timeout) { My problem is with the ...
7 years, 3 months ago (2013-08-29 17:49:29 UTC) #4
frankf
lgtm
7 years, 3 months ago (2013-08-29 22:04:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkania@chromium.org/23542005/3001
7 years, 3 months ago (2013-08-29 22:08:30 UTC) #6
kkania
7 years, 3 months ago (2013-08-30 02:13:29 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 manually as r220476 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698