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

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

Issue 2541363002: Reload Reloaded: remove experimental flag that has been enabled by default (Closed)
Patch Set: Created 4 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/navigator_impl_unittest.cc
diff --git a/content/browser/frame_host/navigator_impl_unittest.cc b/content/browser/frame_host/navigator_impl_unittest.cc
index 5f681a91590c3f0db244a0789861736e5b464f2d..a956d53b93c79f2d1719d87beadad6fc62eb422c 100644
--- a/content/browser/frame_host/navigator_impl_unittest.cc
+++ b/content/browser/frame_host/navigator_impl_unittest.cc
@@ -834,15 +834,8 @@ TEST_F(NavigatorTestWithBrowserSideNavigation, Reload) {
// A NavigationRequest should have been generated.
NavigationRequest* main_request = node->navigation_request();
ASSERT_TRUE(main_request != NULL);
- // TODO(toyoshim): Modify following checks once the feature is enabled.
- if (base::FeatureList::IsEnabled(
- features::kNonValidatingReloadOnNormalReload)) {
- EXPECT_EQ(FrameMsg_Navigate_Type::RELOAD_MAIN_RESOURCE,
- main_request->common_params().navigation_type);
- } else {
- EXPECT_EQ(FrameMsg_Navigate_Type::RELOAD,
- main_request->common_params().navigation_type);
- }
+ EXPECT_EQ(FrameMsg_Navigate_Type::RELOAD_MAIN_RESOURCE,
+ main_request->common_params().navigation_type);
main_test_rfh()->PrepareForCommit();
EXPECT_FALSE(GetSpeculativeRenderFrameHost(node));
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | content/browser/loader/reload_cache_control_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698