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

Unified Diff: content/renderer/render_view_browsertest.cc

Issue 2617893002: Remove uses of UseSubframeNavigationEntries in unit tests. (Closed)
Patch Set: Fix compile Created 3 years, 11 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
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_browsertest.cc
diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
index f2fc1de6575015c3d6b842a17719bdc84e879f87..e9487e752233fbf49e731d58714fe878c4b90bf0 100644
--- a/content/renderer/render_view_browsertest.cc
+++ b/content/renderer/render_view_browsertest.cc
@@ -591,13 +591,8 @@ TEST_F(RenderViewImplTest, OnNavStateChanged) {
"document.getElementById('elt_text').value = 'foo';");
ProcessPendingMessages();
- if (SiteIsolationPolicy::UseSubframeNavigationEntries()) {
- EXPECT_TRUE(render_thread_->sink().GetUniqueMessageMatching(
- FrameHostMsg_UpdateState::ID));
- } else {
- EXPECT_TRUE(render_thread_->sink().GetUniqueMessageMatching(
- ViewHostMsg_UpdateState::ID));
- }
+ EXPECT_TRUE(render_thread_->sink().GetUniqueMessageMatching(
+ FrameHostMsg_UpdateState::ID));
}
TEST_F(RenderViewImplTest, OnNavigationHttpPost) {
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698