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

Issue 1616183002: Don't composite layers with an invisible frameview. (Closed)

Created:
4 years, 11 months ago by wkorman
Modified:
4 years, 10 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't composite layers with an invisible FrameView. Required setting parent/self visible for the FrameView associated with a WebPagePopupImpl. Previously these defaulted to invisible. BUG=569643 Committed: https://crrev.com/510e13d1579b8fb895673358ac1a6594fbcadfe3 Cr-Commit-Position: refs/heads/master@{#372109}

Patch Set 1 #

Patch Set 2 : Run test script when test runner is not present. #

Total comments: 8

Patch Set 3 : Integrate feedback. #

Patch Set 4 : Fix expectations. #

Patch Set 5 : Fix unit tests and test helpers to explicitly make visible. #

Patch Set 6 : Remove experimental hack from CLMTest. #

Patch Set 7 : Need a compositing update when parent visibility changes. #

Patch Set 8 : Remove verbose logging. #

Total comments: 12

Patch Set 9 : Remove two more bits left over from debugging. #

Patch Set 10 : Integrate feedback. #

Patch Set 11 : Add test expectation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden.html View 1 2 3 4 5 6 7 8 9 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/iframes/invisible-nested-iframe-show.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/compositing/resources/composited-iframe-hidden-subframe.html View 1 2 3 4 5 6 7 8 9 1 chunk +25 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/compositing/resources/square-blue-100x100.png View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameViewTest.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTestHelper.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1616183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1616183002/20001
4 years, 11 months ago (2016-01-21 22:40:03 UTC) #3
wkorman
compositing/iframes/invisible-nested-iframe-show.html fails locally with new text expectations that omit the frame. I'm looking into this.
4 years, 11 months ago (2016-01-21 22:43:42 UTC) #5
chrishtr
https://codereview.chromium.org/1616183002/diff/20001/third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden.html File third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden.html (right): https://codereview.chromium.org/1616183002/diff/20001/third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden.html#newcode33 third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden.html:33: popup.click(); Instead of going through onclick, just set its ...
4 years, 11 months ago (2016-01-21 22:49:18 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/105315) mac_chromium_rel_ng on ...
4 years, 11 months ago (2016-01-21 23:27:51 UTC) #8
wkorman
Also am still looking into test failures from CQ dry run. https://codereview.chromium.org/1616183002/diff/20001/third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden.html File third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden.html (right): ...
4 years, 11 months ago (2016-01-22 00:19:56 UTC) #9
wkorman
On 2016/01/22 at 00:19:56, wkorman wrote: > Also am still looking into test failures from ...
4 years, 11 months ago (2016-01-22 22:35:38 UTC) #10
wkorman
Note without patch applied we break in CompositingReasonFinder with CompositingReasonIFrame, but with patch we never ...
4 years, 11 months ago (2016-01-23 02:00:10 UTC) #11
wkorman
On 2016/01/23 at 02:00:10, wkorman wrote: > Note without patch applied we break in CompositingReasonFinder ...
4 years, 11 months ago (2016-01-23 05:19:09 UTC) #12
chrishtr
On 2016/01/23 at 05:19:09, wkorman wrote: > On 2016/01/23 at 02:00:10, wkorman wrote: > > ...
4 years, 11 months ago (2016-01-23 05:24:28 UTC) #13
wkorman
On 2016/01/23 at 05:24:28, chrishtr wrote: > On 2016/01/23 at 05:19:09, wkorman wrote: > > ...
4 years, 11 months ago (2016-01-23 05:33:46 UTC) #14
chrishtr
On 2016/01/23 at 05:33:46, wkorman wrote: > On 2016/01/23 at 05:24:28, chrishtr wrote: > > ...
4 years, 11 months ago (2016-01-23 05:47:03 UTC) #15
wkorman
On 2016/01/23 at 05:47:03, chrishtr wrote: > Yes, but why is view->usesCompositing() always returning false? ...
4 years, 11 months ago (2016-01-25 20:38:58 UTC) #16
chrishtr
On 2016/01/25 at 20:38:58, wkorman wrote: > On 2016/01/23 at 05:47:03, chrishtr wrote: > > ...
4 years, 11 months ago (2016-01-26 18:18:34 UTC) #17
wkorman
On 2016/01/26 at 18:18:34, chrishtr wrote: > On 2016/01/25 at 20:38:58, wkorman wrote: > > ...
4 years, 10 months ago (2016-01-28 00:25:24 UTC) #18
chrishtr
https://codereview.chromium.org/1616183002/diff/130001/third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html File third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html (right): https://codereview.chromium.org/1616183002/diff/130001/third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html#newcode2 third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html:2: <div style="visibility: hidden;"><iframe></iframe></div> Just <div></div should work? https://codereview.chromium.org/1616183002/diff/130001/third_party/WebKit/LayoutTests/compositing/resources/composited-iframe-hidden-2.html File ...
4 years, 10 months ago (2016-01-28 00:32:31 UTC) #19
wkorman
https://codereview.chromium.org/1616183002/diff/130001/third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html File third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html (right): https://codereview.chromium.org/1616183002/diff/130001/third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html#newcode2 third_party/WebKit/LayoutTests/compositing/composited-iframe-hidden-expected.html:2: <div style="visibility: hidden;"><iframe></iframe></div> On 2016/01/28 at 00:32:31, chrishtr wrote: ...
4 years, 10 months ago (2016-01-28 00:55:22 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1616183002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1616183002/170001
4 years, 10 months ago (2016-01-28 00:56:59 UTC) #22
chrishtr
lgtm
4 years, 10 months ago (2016-01-28 01:07:02 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/171445)
4 years, 10 months ago (2016-01-28 02:37:50 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1616183002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1616183002/190001
4 years, 10 months ago (2016-01-28 07:58:41 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/171625)
4 years, 10 months ago (2016-01-28 09:15:50 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1616183002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1616183002/190001
4 years, 10 months ago (2016-01-28 16:25:17 UTC) #32
commit-bot: I haz the power
Committed patchset #11 (id:190001)
4 years, 10 months ago (2016-01-28 17:01:15 UTC) #33
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 17:02:04 UTC) #35
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/510e13d1579b8fb895673358ac1a6594fbcadfe3
Cr-Commit-Position: refs/heads/master@{#372109}

Powered by Google App Engine
This is Rietveld 408576698