Fixed test by changing the way a subframe was added.
Test NavigatorTestWithBrowserSideNavigation.BeginNavigation was broken due to the way the subframe used was added to the tree. By directly calling FrameTree::AddFrame the proper observer notifications were not being executed and triggered a sanity check. It was replaced with the already test-tailored TestRenderFrameHost::AppendChild. BUG=455484 Review URL: https://codereview.chromium.org/904673004 Cr-Commit-Position: refs/heads/master@{#315063}
Showing
Please register or sign in to comment