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

Issue 1153023002: layout-tests: Add flag for including compositingReasons in layerTreeAsText(). (Closed)

Created:
5 years, 7 months ago by sadrul
Modified:
5 years, 7 months ago
Reviewers:
Ian Vollick, esprehn
CC:
blink-layers+watch_chromium.org, blink-reviews, Rik, danakj, dshwang, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

layout-tests: Add flag for including compositingReasons in layerTreeAsText(). Add internals.LAYER_TREE_INCLUDES_COMPOSITING_REASONS flag for including compositingReasons in the output of internals.layerTreeAsText() (only the short name, description is included with debug-info). This allows a layout test to verify that a layer is being created for the right reasons. BUG=436952 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195927

Patch Set 1 #

Total comments: 4

Patch Set 2 : assert_in_array #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/GraphicsLayer.cpp View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M Source/platform/graphics/GraphicsLayerClient.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
sadrul
5 years, 7 months ago (2015-05-25 20:54:15 UTC) #2
esprehn
lgtm but use String#includes. https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html File LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html (right): https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html#newcode21 LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html:21: assert_not_equals(docLayer.children[0].children[0].compositingReasons.indexOf("compositorProxy"), -1); assert_true(...compositingReasons.includes("compositorProxy"))
5 years, 7 months ago (2015-05-25 21:05:44 UTC) #3
sadrul
https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html File LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html (right): https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html#newcode21 LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html:21: assert_not_equals(docLayer.children[0].children[0].compositingReasons.indexOf("compositorProxy"), -1); On 2015/05/25 21:05:43, esprehn wrote: > assert_true(...compositingReasons.includes("compositorProxy")) ...
5 years, 7 months ago (2015-05-25 21:08:45 UTC) #4
esprehn
https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html File LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html (right): https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html#newcode21 LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html:21: assert_not_equals(docLayer.children[0].children[0].compositingReasons.indexOf("compositorProxy"), -1); Oh then you want to use assert_in_array ...
5 years, 7 months ago (2015-05-25 21:13:13 UTC) #5
sadrul
https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html File LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html (right): https://codereview.chromium.org/1153023002/diff/1/LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html#newcode21 LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html:21: assert_not_equals(docLayer.children[0].children[0].compositingReasons.indexOf("compositorProxy"), -1); On 2015/05/25 21:13:13, esprehn wrote: > Oh ...
5 years, 7 months ago (2015-05-25 21:19:32 UTC) #6
sadrul
There's a whole bunch of test-failures on the trybots because a lot of tests seem ...
5 years, 7 months ago (2015-05-25 21:57:51 UTC) #7
esprehn
On 2015/05/25 at 21:57:51, sadrul wrote: > There's a whole bunch of test-failures on the ...
5 years, 7 months ago (2015-05-25 23:11:00 UTC) #8
sadrul
On 2015/05/25 23:11:00, esprehn wrote: > On 2015/05/25 at 21:57:51, sadrul wrote: > > There's ...
5 years, 7 months ago (2015-05-26 02:56:11 UTC) #9
Ian Vollick
On 2015/05/26 at 02:56:11, sadrul wrote: > On 2015/05/25 23:11:00, esprehn wrote: > > On ...
5 years, 7 months ago (2015-05-26 03:18:16 UTC) #10
sadrul
On 2015/05/26 03:18:16, vollick wrote: > On 2015/05/26 at 02:56:11, sadrul wrote: > > On ...
5 years, 7 months ago (2015-05-26 03:26:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153023002/40001
5 years, 7 months ago (2015-05-26 22:04:45 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-05-26 22:08:34 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195927

Powered by Google App Engine
This is Rietveld 408576698