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

Unified Diff: content/browser/frame_host/frame_tree_unittest.cc

Issue 803873004: ContentBrowserSanityChecker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add semicolon. Created 6 years 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: content/browser/frame_host/frame_tree_unittest.cc
diff --git a/content/browser/frame_host/frame_tree_unittest.cc b/content/browser/frame_host/frame_tree_unittest.cc
index bb705c7f881adc195a656a8539e0e1a1977e5135..a22c8a9797c399ce0fffaed1f4d0384c5f034ddc 100644
--- a/content/browser/frame_host/frame_tree_unittest.cc
+++ b/content/browser/frame_host/frame_tree_unittest.cc
@@ -118,7 +118,13 @@ class FrameTreeTest : public RenderViewHostImplTestHarness {
// Exercise tree manipulation routines.
// - Add a series of nodes and verify tree structure.
// - Remove a series of nodes and verify tree structure.
-TEST_F(FrameTreeTest, Shape) {
+//
+// TODO(nick): http://crbug.com/444722 Disabled temporarily because of a bad
+// interaction with the WebContentsObserverConsistencyChecker -- calling
+// AddFrame directly causes the RFH to not be announced. We either need to
+// rewrite this test, or be consistent in the layer at which we announce render
+// frame creation.
+TEST_F(FrameTreeTest, DISABLED_Shape) {
// Use the FrameTree of the WebContents so that it has all the delegates it
// needs. We may want to consider a test version of this.
FrameTree* frame_tree = contents()->GetFrameTree();

Powered by Google App Engine
This is Rietveld 408576698