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

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-blend-mode.html

Issue 2397333002: Change layerTreeAsText to default to layer lists. (Closed)
Patch Set: none Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-blend-mode.html
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-blend-mode.html b/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-blend-mode.html
index 27bfd320942dfa51fd7f696cd29bfb64bb027c7e..e93e4de1e6c317f2451bbd5b930f596c64d4f1f4 100644
--- a/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-blend-mode.html
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-blend-mode.html
@@ -8,9 +8,9 @@ if (window.testRunner)
testRunner.dumpAsText();
onload = function() {
if (window.internals) {
- var layers = JSON.parse(internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_DEBUG_INFO));
- assert_true(layers.children[0].children[0].children[1].compositingReasons[1] == "Layer was separately composited because it could not be squashed.");
- assert_true(layers.children[0].children[0].children[1].squashingDisallowedReasons[0] == "Squashing a layer with blending is not supported.");
+ var layers = JSON.parse(internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_DEBUG_INFO))["layers"];
+ assert_true(layers[3].compositingReasons[1] == "Layer was separately composited because it could not be squashed.");
+ assert_true(layers[3].squashingDisallowedReasons[0] == "Squashing a layer with blending is not supported.");
}
};
</script>

Powered by Google App Engine
This is Rietveld 408576698