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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js

Issue 1945813002: cc: Make LayerTreeImpl dump layer list to FrameViewer and Devtools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Force drawsContent for layout test Created 4 years, 7 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/http/tests/inspector/layers-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js
index 8792490dce3a25ab8fab2c7b94d02eb8c9b8c132..d00ecf4cd1f1286d44ddb055fdcb4adf6f2ff7fe 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js
@@ -32,7 +32,8 @@ function initialize_LayerTreeTests()
return;
}
}
- InspectorTest.addResult(prefix + InspectorTest.labelForLayer(root));
+ if (root.drawsContent())
vmpstr 2016/05/31 22:16:16 Why this change?
sunxd 2016/05/31 22:41:52 See the comment in layer-tree.html, the background
+ InspectorTest.addResult(prefix + InspectorTest.labelForLayer(root));
root.children().forEach(InspectorTest.dumpLayerTree.bind(InspectorTest, prefix + " "));
}

Powered by Google App Engine
This is Rietveld 408576698