Index: content/browser/site_per_process_browsertest.cc |
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc |
index 4c2a419d71a88ef50291c68083a0a014bb89fff5..3e6beaf3101c4f49eaada2a7ba879857db45434c 100644 |
--- a/content/browser/site_per_process_browsertest.cc |
+++ b/content/browser/site_per_process_browsertest.cc |
@@ -298,7 +298,9 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, MAYBE_CrossSiteIframe) { |
->GetRenderWidgetHostViewsInTree(); |
EXPECT_EQ(2U, views_set.size()); |
} |
- EXPECT_EQ(proxy_to_parent, child->render_manager()->GetProxyToParent()); |
+ EXPECT_NE(proxy_to_parent, child->render_manager()->GetProxyToParent()); |
nasko
2014/10/27 22:52:54
Hmm, why is that? The proxy object for the parent
Nate Chapin
2014/10/28 19:59:20
I would have thought that the child changing proce
Charlie Reis
2014/10/28 20:10:10
I'll defer to Nasko (or Ken) here, but let's figur
nasko
2014/10/28 21:58:14
When a child frame navigates, it changes process,
Nate Chapin
2014/10/29 20:39:42
Ah, I think I understand this now. The problem has
Charlie Reis
2014/10/29 21:28:32
Nasko: Actually, I think Nate found an interesting
Nate Chapin
2014/10/30 19:00:50
Nasko tells me this should be resolved once https:
|
+ proxy_to_parent = child->render_manager()->GetProxyToParent(); |
+ EXPECT_TRUE(proxy_to_parent); |
EXPECT_TRUE(proxy_to_parent->cross_process_frame_connector()); |
EXPECT_EQ( |
child->current_frame_host()->render_view_host()->GetView(), |
@@ -364,11 +366,11 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, MAYBE_NavigateRemoteFrame) { |
// TODO(japhet): This currently causes an assertion in the renderer process. |
nasko
2014/10/27 22:52:54
The comment is no longer needed if this is indeed
Nate Chapin
2014/10/28 19:59:20
Will update to describe what this block actually d
|
// Enable when the assertion is fixed. |
- //NavigateFrameToURL(child, http_url); |
- //EXPECT_EQ(http_url, observer.navigation_url()); |
- //EXPECT_TRUE(observer.navigation_succeeded()); |
- //EXPECT_EQ(shell()->web_contents()->GetSiteInstance(), |
- // child->current_frame_host()->GetSiteInstance()); |
+ NavigateFrameToURL(child, http_url); |
+ EXPECT_EQ(http_url, observer.navigation_url()); |
+ EXPECT_TRUE(observer.navigation_succeeded()); |
+ EXPECT_EQ(shell()->web_contents()->GetSiteInstance(), |
+ child->current_frame_host()->GetSiteInstance()); |
} |
// Crash a subframe and ensures its children are cleared from the FrameTree. |