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

Unified Diff: content/common/site_isolation_policy.cc

Issue 2092283002: Revert of Enable subframe FrameNavigationEntries by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/site_isolation_policy.cc
diff --git a/content/common/site_isolation_policy.cc b/content/common/site_isolation_policy.cc
index 789bde7fddd287e6732704c1f838d8047a8f8d2a..b25741b3b39b2f0b5dada6f17313406071c81b09 100644
--- a/content/common/site_isolation_policy.cc
+++ b/content/common/site_isolation_policy.cc
@@ -39,7 +39,10 @@
// static
bool SiteIsolationPolicy::UseSubframeNavigationEntries() {
- return true;
+ // Enable the new navigation history behavior if any manner of site isolation
+ // is active.
+ // PlzNavigate: also enable the new navigation history behavior.
+ return AreCrossProcessFramesPossible() || IsBrowserSideNavigationEnabled();
}
} // namespace content
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698