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

Issue 2586243002: Fixed flaky fullscreen video test. (Closed)

Created:
4 years ago by rune
Modified:
4 years ago
Reviewers:
fs, foolip
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed flaky fullscreen video test. The media controls are (at least sometimes) painted twice. The second time after figuring out how many buttons fit into the available width. At least one of the fullscreen tests were flaky because the first paint was dumped instead of the second one. Adding a layoutAndPaintAsyncThen in the full-screen-test.js framework seems to fix the issue. Although the issue was filed after landing changes for issue 567021, the flakiness is also seen locally without those changes running the test with --repeat-each=30 in debug. R=fs@opera.com TEST=virtual/android/fullscreen/full-screen-stacking-context.html BUG=675055 Committed: https://crrev.com/9d2592279f64b3a80329edef372adf6283349a0b Cr-Commit-Position: refs/heads/master@{#439483}

Patch Set 1 #

Patch Set 2 : Return early from endTest() if already called. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/fullscreen/full-screen-test.js View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 18 (10 generated)
rune
ptal
4 years ago (2016-12-19 12:58:45 UTC) #3
fs
LGTM, but adding someone working on fullscreen for a FYI or opinions
4 years ago (2016-12-19 13:02:18 UTC) #5
foolip
lgtm
4 years ago (2016-12-19 13:25:15 UTC) #6
rune
I had to add a return from endTest() as layoutAndPaintAsyncThen() will trigger a DCHECK if ...
4 years ago (2016-12-19 14:45:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2586243002/20001
4 years ago (2016-12-19 14:48:43 UTC) #12
fs
On 2016/12/19 at 14:45:00, rune wrote: > I had to add a return from endTest() ...
4 years ago (2016-12-19 14:49:43 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/712ab2951db7a2617ac63283084f58a337864cac
4 years ago (2016-12-19 16:02:11 UTC) #16
commit-bot: I haz the power
4 years ago (2016-12-19 16:03:34 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9d2592279f64b3a80329edef372adf6283349a0b
Cr-Commit-Position: refs/heads/master@{#439483}

Powered by Google App Engine
This is Rietveld 408576698