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

Issue 10168019: Adds an automation hook WaitUntilNavigationCompletes() which blocks until pending navigation comple… (Closed)

Created:
8 years, 8 months ago by craigdh
Modified:
8 years, 8 months ago
CC:
chromium-reviews, Nirnimesh, kkania, anantha, robertshield, dyu1, dennis_jeffrey
Visibility:
Public.

Description

Adds an automation hook WaitUntilNavigationCompletes() which blocks until pending navigation completes. Once this call returns it is safe to call the ExecuteJavascript() family of automation hooks. BUG=124438 TEST=functional/apptest.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133499

Patch Set 1 #

Patch Set 2 : Ready for review. #

Patch Set 3 : Slight comment rewording. #

Total comments: 3

Patch Set 4 : Fixed a possible race condition. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M chrome/browser/automation/testing_automation_provider.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 2 chunks +25 lines, -0 lines 0 comments Download
M chrome/test/functional/apptest.py View 1 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
craigdh
8 years, 8 months ago (2012-04-20 21:58:02 UTC) #1
dennis_jeffrey
https://chromiumcodereview.appspot.com/10168019/diff/4001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10168019/diff/4001/chrome/browser/automation/testing_automation_provider.cc#newcode6360 chrome/browser/automation/testing_automation_provider.cc:6360: } possible race condition here? The check above could ...
8 years, 8 months ago (2012-04-20 22:11:32 UTC) #2
craigdh
Dennis: Please look and make sure my solution to the race condition seems right to ...
8 years, 8 months ago (2012-04-20 23:04:55 UTC) #3
dennis_jeffrey
LGTM
8 years, 8 months ago (2012-04-20 23:14:11 UTC) #4
Nirnimesh
LGTM
8 years, 8 months ago (2012-04-23 18:23:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/10168019/8001
8 years, 8 months ago (2012-04-23 18:24:40 UTC) #6
commit-bot: I haz the power
8 years, 8 months ago (2012-04-23 19:44:37 UTC) #7
Change committed as 133499

Powered by Google App Engine
This is Rietveld 408576698