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

Issue 581983002: Quick fix for windows try bots flakiness. (Closed)

Created:
6 years, 3 months ago by loislo
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, mkwst+moarreviews-shell_chromium.org, jam, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Quick fix for windows try bots flakiness. It was a race between animation scheduled by WebTestProxyBase and ResourceLoader which received the test script content. In case of failure I see the next sequence of top level events: 1) RootGraphicsLayer was cleared 2) html resource arrived and animation was scheduled 3) js resource arrived, onload event handler was called and the test finished in the ASSERT The expected sequence of top level events: 1) RootGraphicsLayer was cleared 2) html resource arrived and animation was scheduled 3) scheduled animation was executed 4) js resource arrived, onload event handler was called and the test finished successfully The simplest solution is to run pending animations. BUG=397321 Committed: https://crrev.com/0ef3f039c5d5101cc950a88244d244ac7c4a574e Cr-Commit-Position: refs/heads/master@{#295938}

Patch Set 1 #

Patch Set 2 : patch #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M content/shell/renderer/test_runner/web_test_proxy.cc View 1 3 chunks +15 lines, -0 lines 1 comment Download

Messages

Total messages: 14 (5 generated)
loislo
ptal
6 years, 3 months ago (2014-09-18 10:04:32 UTC) #3
Dirk Pranke
I don't really understand this change, but I'm keen to see if anything improves the ...
6 years, 3 months ago (2014-09-18 15:28:00 UTC) #6
danakj
https://codereview.chromium.org/581983002/diff/20001/content/shell/renderer/test_runner/web_test_proxy.cc File content/shell/renderer/test_runner/web_test_proxy.cc (right): https://codereview.chromium.org/581983002/diff/20001/content/shell/renderer/test_runner/web_test_proxy.cc#newcode488 content/shell/renderer/test_runner/web_test_proxy.cc:488: AnimateNow(); I think we need to fix WebViewImpl/blink, not ...
6 years, 3 months ago (2014-09-18 15:33:41 UTC) #7
loislo
On 2014/09/18 15:33:41, danakj wrote: > https://codereview.chromium.org/581983002/diff/20001/content/shell/renderer/test_runner/web_test_proxy.cc > File content/shell/renderer/test_runner/web_test_proxy.cc (right): > > https://codereview.chromium.org/581983002/diff/20001/content/shell/renderer/test_runner/web_test_proxy.cc#newcode488 > ...
6 years, 3 months ago (2014-09-18 18:37:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/581983002/20001
6 years, 3 months ago (2014-09-22 08:02:57 UTC) #10
loislo
On 2014/09/18 18:37:21, loislo wrote: > On 2014/09/18 15:33:41, danakj wrote: > > > https://codereview.chromium.org/581983002/diff/20001/content/shell/renderer/test_runner/web_test_proxy.cc ...
6 years, 3 months ago (2014-09-22 08:15:45 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 80f9e7f20887c46212966acc302a78a30aead99d
6 years, 3 months ago (2014-09-22 08:33:25 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0ef3f039c5d5101cc950a88244d244ac7c4a574e Cr-Commit-Position: refs/heads/master@{#295938}
6 years, 3 months ago (2014-09-22 08:34:15 UTC) #13
jamesr
6 years, 3 months ago (2014-09-22 14:40:02 UTC) #14
Message was sent while issue was closed.
This is a bad change.  Blink is doing the wrong thing here, not the test runner.
 As soon as the main resources arrive Blink should be setting a new root
graphics layer up.  If any animations are pending, they should run when the
compositor says to run them, not at arbitrary other times.  Copying image data
out in a layout test should not have script-visible side effects.

Powered by Google App Engine
This is Rietveld 408576698