| 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 0cc1b8f2deb0da9008b7a38fdfce6db5559a8b02..37b78dc1d56fd15ba1161c6d5850c43dd319b846 100644
|
| --- a/content/browser/site_per_process_browsertest.cc
|
| +++ b/content/browser/site_per_process_browsertest.cc
|
| @@ -285,9 +285,12 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, CrossSiteIframe) {
|
| proxy_to_parent = child->render_manager()->GetProxyToParent();
|
| EXPECT_TRUE(proxy_to_parent);
|
| EXPECT_TRUE(proxy_to_parent->cross_process_frame_connector());
|
| - EXPECT_EQ(
|
| + // The out-of-process iframe should have its own RenderWidgetHost,
|
| + // independent of any RenderViewHost.
|
| + EXPECT_NE(
|
| rvh->GetView(),
|
| proxy_to_parent->cross_process_frame_connector()->get_view_for_testing());
|
| + EXPECT_TRUE(child->current_frame_host()->GetRenderWidgetHost());
|
|
|
| // Load another cross-site page into the same iframe.
|
| url = embedded_test_server()->GetURL("bar.com", "/title3.html");
|
| @@ -317,9 +320,10 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, CrossSiteIframe) {
|
| }
|
| EXPECT_EQ(proxy_to_parent, child->render_manager()->GetProxyToParent());
|
| EXPECT_TRUE(proxy_to_parent->cross_process_frame_connector());
|
| - EXPECT_EQ(
|
| + EXPECT_NE(
|
| child->current_frame_host()->render_view_host()->GetView(),
|
| proxy_to_parent->cross_process_frame_connector()->get_view_for_testing());
|
| + EXPECT_TRUE(child->current_frame_host()->GetRenderWidgetHost());
|
| }
|
|
|
| // Disabled for flaky crashing: crbug.com/446575
|
|
|