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

Issue 2779713002: Add a test checking that compositor works in a reused renderer. (Closed)

Created:
3 years, 9 months ago by Alexander Semashko
Modified:
3 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, cc-bugs_chromium.org, James Su, danakj+watch_chromium.org, enne (OOO), piman
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a test checking that compositor works in a reused renderer. The bug was happening if the renderer submitted a frame right before navigation commit. The swap ACK got lost, and if this RenderWidget was reused later, it was drawing nothing because it was waiting for the ACK. BUG=701988, 705548 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2779713002 Cr-Commit-Position: refs/heads/master@{#465322} Committed: https://chromium.googlesource.com/chromium/src/+/4ec47030b3d06cb198562b4647094191ba83b06e

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix tests #

Patch Set 4 : Reformat test page #

Total comments: 2

Patch Set 5 : Rebase & drop non-test changes. #

Patch Set 6 : Use FrameWatcher, rename test. #

Patch Set 7 : Don't create a new shell. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 2 3 4 5 6 4 chunks +71 lines, -0 lines 0 comments Download
A content/test/data/page_with_animation.html View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (30 generated)
Alexander Semashko
3 years, 9 months ago (2017-03-27 17:04:25 UTC) #3
ccameron
This looks good, but I'm not an expert here and I'm worried that there are ...
3 years, 9 months ago (2017-03-27 17:59:46 UTC) #9
Alexander Semashko
Regarding tryjob failures, I see two problems there: - on android opening chrome://gpu fails ("unauthorized ...
3 years, 9 months ago (2017-03-27 20:33:41 UTC) #10
Fady Samuel
+samans@ for his thoughts. This seems weird to me. This suggests that renderer side state ...
3 years, 9 months ago (2017-03-28 02:17:07 UTC) #12
Alexander Semashko
On 2017/03/28 02:17:07, Fady Samuel wrote: > +samans@ for his thoughts. This seems weird to ...
3 years, 8 months ago (2017-03-28 11:17:42 UTC) #15
danakj
RenderWidget reuse (and the fact that it shouldn't happen) has been coming up a bunch ...
3 years, 8 months ago (2017-03-28 14:53:41 UTC) #19
Saman Sami
Yes, this sounds like the same bug. This implies that RenderWidgetHostView is destroyed when RendererCompositorFrameSink ...
3 years, 8 months ago (2017-03-28 15:23:13 UTC) #20
danakj
On Tue, Mar 28, 2017 at 11:23 AM, <samans@chromium.org> wrote: > Yes, this sounds like ...
3 years, 8 months ago (2017-03-28 15:25:34 UTC) #21
Alexander Semashko
On 2017/03/28 15:25:34, danakj wrote: > It adds code that won't go away once the ...
3 years, 8 months ago (2017-03-28 15:56:15 UTC) #22
danakj
On Tue, Mar 28, 2017 at 11:56 AM, <ahest@yandex-team.ru> wrote: > On 2017/03/28 15:25:34, danakj ...
3 years, 8 months ago (2017-03-28 15:58:42 UTC) #23
Saman Sami
I found the CL that might have started this problem and I'm waiting for a ...
3 years, 8 months ago (2017-03-28 16:12:21 UTC) #24
Lof
On 2017/03/28 15:58:42, danakj wrote: > In my experience that doesn't often happen. Other code ...
3 years, 8 months ago (2017-03-28 16:44:09 UTC) #27
danakj
On 2017/03/28 16:44:09, Lof wrote: > On 2017/03/28 15:58:42, danakj wrote: > > In my ...
3 years, 8 months ago (2017-03-28 20:44:00 UTC) #28
Saman Sami
This problem should be fixed (crrev.com/2786443003), but I think we should land the test.
3 years, 8 months ago (2017-04-03 21:29:20 UTC) #29
danakj
On Mon, Apr 3, 2017 at 5:29 PM, <samans@chromium.org> wrote: > This problem should be ...
3 years, 8 months ago (2017-04-03 21:32:11 UTC) #30
Alexander Semashko
On 2017/04/03 21:32:11, danakj wrote: > On Mon, Apr 3, 2017 at 5:29 PM, <mailto:samans@chromium.org> ...
3 years, 8 months ago (2017-04-03 21:38:07 UTC) #31
danakj
On 2017/04/03 21:38:07, Alexander Semashko wrote: > On 2017/04/03 21:32:11, danakj wrote: > > On ...
3 years, 8 months ago (2017-04-03 21:39:39 UTC) #33
Saman Sami
https://codereview.chromium.org/2779713002/diff/40002/content/browser/renderer_host/render_widget_host_view_browsertest.cc File content/browser/renderer_host/render_widget_host_view_browsertest.cc (right): https://codereview.chromium.org/2779713002/diff/40002/content/browser/renderer_host/render_widget_host_view_browsertest.cc#newcode209 content/browser/renderer_host/render_widget_host_view_browsertest.cc:209: class SwapCompositorFrameWaiter : public WebContentsObserver { This class is ...
3 years, 8 months ago (2017-04-03 21:51:30 UTC) #34
boliu
Android bot is being totally useless here.. +jbudorick Logcat from device still exists, it's just ...
3 years, 8 months ago (2017-04-04 16:35:55 UTC) #35
jbudorick
On 2017/04/04 16:35:55, boliu wrote: > Android bot is being totally useless here.. +jbudorick > ...
3 years, 8 months ago (2017-04-04 17:07:50 UTC) #36
Alexander Semashko
There is now only the test, and it passes on android too! samans (and whoever ...
3 years, 8 months ago (2017-04-17 18:16:20 UTC) #45
Saman Sami
LGTM based on my limited knowledge of content. You also need a content owner to ...
3 years, 8 months ago (2017-04-18 14:38:56 UTC) #48
ccameron
renderer_host rs lgtm
3 years, 8 months ago (2017-04-18 18:05:55 UTC) #50
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/2779713002/110001
3 years, 8 months ago (2017-04-18 18:12:45 UTC) #52
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 19:20:53 UTC) #55
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/4ec47030b3d06cb198562b464709...

Powered by Google App Engine
This is Rietveld 408576698