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

Unified Diff: third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.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/always-composite-fixed-position-when-descendants-composite.html
diff --git a/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html b/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html
index 82071a27d709c239df83783c9cd323a314ad0587..a972d50bdf8e6100bca9d800eb74823d801c4ce9 100644
--- a/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html
+++ b/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html
@@ -11,6 +11,6 @@ if (window.testRunner)
testRunner.dumpAsText();
if (window.internals) {
var layers = JSON.parse(internals.layerTreeAsText(document));
- assert_true(layers.children.length == 1 && layers.children[0].children.length == 1);
+ assert_true(layers["layers"].length == 3);
}
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698