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

Issue 23944005: [chromedriver] Fix race in navigation tracker. (Closed)

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

Description

[chromedriver] Fix race in navigation tracker. Somewhat reproducible via load google, clear cookies, load about:blank repeatedly. Before, when we attempted to get the URL of the page after a successful Page.navigate, we could end up setting the state = kLoading even though we received the frame stopped loading event during the evaluate command. Now, set the state to uknown first, and only force the state = kLoading if not set already. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221277

Patch Set 1 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M chrome/test/chromedriver/chrome/navigation_tracker.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kkania
7 years, 3 months ago (2013-09-04 17:39:19 UTC) #1
chrisgao (Use stgao instead)
lgtm
7 years, 3 months ago (2013-09-04 17:49:06 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkania@chromium.org/23944005/3001
7 years, 3 months ago (2013-09-04 19:35:13 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 21:43:17 UTC) #4
Message was sent while issue was closed.
Change committed as 221277

Powered by Google App Engine
This is Rietveld 408576698