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

Issue 15772009: [chromedriver] Fix race where we might not wait for page load after navigating. (Closed)

Created:
7 years, 7 months ago by kkania
Modified:
7 years, 6 months ago
CC:
chromium-reviews, frankf
Visibility:
Public.

Description

[chromedriver] Fix race where we might not wait for page load after navigating. Change the NavigationTracker to assume the page is loading after Page.navigate. BUG=chromedriver:347 R=chrisgao@chromium.org, craigdh@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202651

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : change technique #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -13 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/devtools_client_impl.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/devtools_client_impl.cc View 1 2 5 chunks +36 lines, -8 lines 0 comments Download
M chrome/test/chromedriver/chrome/devtools_client_impl_unittest.cc View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/devtools_event_listener.h View 1 2 1 chunk +11 lines, -4 lines 0 comments Download
A chrome/test/chromedriver/chrome/devtools_event_listener.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/navigation_tracker.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/navigation_tracker.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kkania
7 years, 7 months ago (2013-05-23 23:22:11 UTC) #1
craigdh
https://codereview.chromium.org/15772009/diff/7/chrome/test/chromedriver/chrome/devtools_client_impl.cc File chrome/test/chromedriver/chrome/devtools_client_impl.cc (right): https://codereview.chromium.org/15772009/diff/7/chrome/test/chromedriver/chrome/devtools_client_impl.cc#newcode176 chrome/test/chromedriver/chrome/devtools_client_impl.cc:176: Status DevToolsClientImpl::WaitForRendererRoundTrip() { Can we have a comment here? ...
7 years, 7 months ago (2013-05-23 23:37:33 UTC) #2
chrisgao (Use stgao instead)
lgtm when Craig's comments are addressed. https://codereview.chromium.org/15772009/diff/7/chrome/test/chromedriver/chrome/devtools_client.h File chrome/test/chromedriver/chrome/devtools_client.h (right): https://codereview.chromium.org/15772009/diff/7/chrome/test/chromedriver/chrome/devtools_client.h#newcode52 chrome/test/chromedriver/chrome/devtools_client.h:52: // asynchronous commands ...
7 years, 7 months ago (2013-05-24 17:35:31 UTC) #3
kkania
changed technique. turns out in some cases (incl process switches) navigations can be delayed until ...
7 years, 6 months ago (2013-05-28 15:56:58 UTC) #4
craigdh
lgtm.
7 years, 6 months ago (2013-05-28 17:46:28 UTC) #5
kkania
7 years, 6 months ago (2013-05-28 21:00:00 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r202651 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698