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

Issue 504343004: Update *-focus-by-mouse-then-keydown.html tests to be repaint tests (Closed)

Created:
6 years, 3 months ago by pdr.
Modified:
6 years, 3 months ago
Reviewers:
tkent
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Update *-focus-by-mouse-then-keydown.html tests to be repaint tests These tests worked previously but no longer work in our layouttest repaint infrastructure. These tests intended to do the following: 1) Paint the page 2) Click a form control element (no focus ring) 3) Press a key (causing a focus ring) 4) Paint the page again, this time with the focus ring The tests actually did the following: 1) Click a form control element (no focus ring) 2) Press a key (causing a focus ring) 3) Paint the page for the first time, including focus ring This patch updates these tests to be repaint tests. I manually verified these tests fail if HTMLFormControlElement.cpp does not call renderer()->setShouldDoFullPaintInvalidation(true). The repaint tests will have platform-specific results so NeedsRebaseline has been used, but I uploaded my OSX10.9.4/highdpi results to make the review easier. The checkbox-focus-by-mouse-then-keydown test is already listed in FlakyTests (and is flaky [1]) so this was removed from TestExpectations. [1] http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Fforms%2Fcheckbox%2Fcheckbox-focus-by-mouse-then-keydown.html BUG=407961 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180940

Patch Set 1 #

Total comments: 1

Patch Set 2 : Pixels! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -61 lines) Patch
M LayoutTests/TestExpectations View 2 chunks +6 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown.html View 1 1 chunk +6 lines, -1 line 0 comments Download
D LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.html View 1 chunk +0 lines, -10 lines 0 comments Download
A + LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown.html View 1 1 chunk +6 lines, -1 line 0 comments Download
D LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown-expected.html View 1 chunk +0 lines, -10 lines 0 comments Download
A + LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/radio/radio-focus-by-mouse-then-keydown.html View 1 1 chunk +6 lines, -1 line 0 comments Download
D LayoutTests/fast/forms/radio/radio-focus-by-mouse-then-keydown-expected.html View 1 chunk +0 lines, -10 lines 0 comments Download
A + LayoutTests/fast/forms/radio/radio-focus-by-mouse-then-keydown-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/range/range-focus-by-mouse-then-keydown.html View 1 1 chunk +6 lines, -1 line 0 comments Download
D LayoutTests/fast/forms/range/range-focus-by-mouse-then-keydown-expected.html View 1 chunk +0 lines, -10 lines 0 comments Download
A + LayoutTests/fast/forms/range/range-focus-by-mouse-then-keydown-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/submit/submit-focus-by-mouse-then-keydown.html View 1 1 chunk +6 lines, -1 line 0 comments Download
D LayoutTests/fast/forms/submit/submit-focus-by-mouse-then-keydown-expected.html View 1 chunk +0 lines, -10 lines 0 comments Download
A + LayoutTests/fast/forms/submit/submit-focus-by-mouse-then-keydown-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/mac/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.png View 1 Binary file 0 comments Download
A + LayoutTests/platform/mac/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown-expected.png View 1 Binary file 0 comments Download
A + LayoutTests/platform/mac/fast/forms/radio/radio-focus-by-mouse-then-keydown-expected.png View 1 Binary file 0 comments Download
A + LayoutTests/platform/mac/fast/forms/range/range-focus-by-mouse-then-keydown-expected.png View 1 Binary file 0 comments Download
A + LayoutTests/platform/mac/fast/forms/submit/submit-focus-by-mouse-then-keydown-expected.png View 1 Binary file 0 comments Download

Messages

Total messages: 12 (0 generated)
pdr.
pdr@chromium.org changed reviewers: + tkent@chromium.org
6 years, 3 months ago (2014-08-27 04:31:39 UTC) #1
pdr.
6 years, 3 months ago (2014-08-27 04:31:56 UTC) #2
tkent
https://codereview.chromium.org/504343004/diff/1/LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt File LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt (right): https://codereview.chromium.org/504343004/diff/1/LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt#newcode9 LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt:9: [3, 4, 55, 29] We can't know existence of ...
6 years, 3 months ago (2014-08-27 04:41:47 UTC) #3
pdr.
On 2014/08/27 04:41:47, tkent wrote: > https://codereview.chromium.org/504343004/diff/1/LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt > File > LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt > (right): > > ...
6 years, 3 months ago (2014-08-27 04:46:55 UTC) #4
tkent
On 2014/08/27 04:46:55, pdr wrote: > On 2014/08/27 04:41:47, tkent wrote: > > > https://codereview.chromium.org/504343004/diff/1/LayoutTests/fast/forms/button/button-reset-focus-by-mouse-then-keydown-expected.txt ...
6 years, 3 months ago (2014-08-27 05:02:47 UTC) #5
pdr.
On 2014/08/27 05:02:47, tkent wrote: > On 2014/08/27 04:46:55, pdr wrote: > > On 2014/08/27 ...
6 years, 3 months ago (2014-08-27 05:05:53 UTC) #6
pdr.
PTAL
6 years, 3 months ago (2014-08-27 05:23:46 UTC) #7
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 3 months ago (2014-08-27 05:29:13 UTC) #8
tkent
lgtm
6 years, 3 months ago (2014-08-27 05:29:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pdr@chromium.org/504343004/20001
6 years, 3 months ago (2014-08-27 05:30:08 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 3 months ago (2014-08-27 06:36:01 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-08-27 07:08:35 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (20001) as 180940

Powered by Google App Engine
This is Rietveld 408576698