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 1365ce3a69b5e6b8300a5b388b8031ef21cef749..27bfd320942dfa51fd7f696cd29bfb64bb027c7e 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,8 +8,9 @@ if (window.testRunner) |
testRunner.dumpAsText(); |
onload = function() { |
if (window.internals) { |
- var layers = JSON.parse(internals.layerTreeAsText(document, 1)); |
- assert_true(layers.children[0].children[0].children[1].compositingReasons[1] == "Squashing a layer with blending is not supported."); |
+ 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."); |
} |
}; |
-</script> |
+</script> |