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

Issue 316163003: Fix the flaky PasswordManagerBrowserTest.PasswordValueAccessible test (Closed)

Created:
6 years, 6 months ago by vabr (Chromium)
Modified:
6 years, 6 months ago
Reviewers:
bartfab (slow)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist_chromium.org
Visibility:
Public.

Description

Fix the flaky PasswordManagerBrowserTest.PasswordValueAccessible test This test was flaky, because of a race condition between JavaScript snippets and input events sent to a renderer via IPC. This CL modifies the JavaScript bits to check whether chagnes in DOM caused by the expected input events have been carried out. See also https://groups.google.com/a/chromium.org/d/msg/chromium-dev/rDxk2D824QI/bMleOa0DcQcJ This CL also enables the test on all platforms. BUG=346297 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276045

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Make waiting explicit #

Total comments: 2

Patch Set 3 : Formatting #

Patch Set 4 : Comma at the end of enum #

Patch Set 5 : Putting the accidentally left out constant back #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -31 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 4 4 chunks +85 lines, -31 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
vabr (Chromium)
Hi bartfab@, Would you mind reviewing this one for me? Thanks! Vaclav
6 years, 6 months ago (2014-06-05 12:53:24 UTC) #1
bartfab (slow)
https://codereview.chromium.org/316163003/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/316163003/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode177 chrome/browser/password_manager/password_manager_browsertest.cc:177: // Waits until the "value" atribute of the HTML ...
6 years, 6 months ago (2014-06-05 16:45:54 UTC) #2
vabr (Chromium)
Thanks, Bartosz! Comments addressed, PTAL. Cheers, Vaclav https://codereview.chromium.org/316163003/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/316163003/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode177 chrome/browser/password_manager/password_manager_browsertest.cc:177: // Waits ...
6 years, 6 months ago (2014-06-05 17:58:13 UTC) #3
bartfab (slow)
lgtm https://codereview.chromium.org/316163003/diff/60001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/316163003/diff/60001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode200 chrome/browser/password_manager/password_manager_browsertest.cc:200: RETURN_CODE_INVALID }; Nit: Put the }; on its ...
6 years, 6 months ago (2014-06-06 11:19:34 UTC) #4
vabr (Chromium)
Thanks, Bartosz. Comment addressed, I'll send this to CQ now. Cheers, Vaclav https://codereview.chromium.org/316163003/diff/60001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc ...
6 years, 6 months ago (2014-06-06 17:21:58 UTC) #5
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 6 months ago (2014-06-06 17:22:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/316163003/80001
6 years, 6 months ago (2014-06-06 17:23:32 UTC) #7
vabr (Chromium)
The CQ bit was unchecked by vabr@chromium.org
6 years, 6 months ago (2014-06-06 17:25:56 UTC) #8
vabr (Chromium)
Just to explain patch set 4: It looks like clang-format would put the closing "}" ...
6 years, 6 months ago (2014-06-06 17:28:27 UTC) #9
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 6 months ago (2014-06-06 17:28:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/316163003/100001
6 years, 6 months ago (2014-06-06 17:29:52 UTC) #11
vabr (Chromium)
FYI: clang-format bug filed -- (bug id 15467886).
6 years, 6 months ago (2014-06-06 17:34:14 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-06 22:15:51 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 22:53:25 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/25087)
6 years, 6 months ago (2014-06-06 22:53:26 UTC) #15
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 6 months ago (2014-06-10 07:01:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/316163003/120001
6 years, 6 months ago (2014-06-10 07:04:42 UTC) #17
vabr (Chromium)
The CQ bit was unchecked by vabr@chromium.org
6 years, 6 months ago (2014-06-10 14:59:54 UTC) #18
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 6 months ago (2014-06-10 15:00:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/316163003/120001
6 years, 6 months ago (2014-06-10 15:00:55 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 16:03:07 UTC) #21
Message was sent while issue was closed.
Change committed as 276045

Powered by Google App Engine
This is Rietveld 408576698