[M108 Migration] Disable site-per-process mode of Site Isolation by default 03/288103/3
authorBakka Uday Kiran <b.kiran@samsung.com>
Fri, 10 Feb 2023 10:41:51 +0000 (16:11 +0530)
committerBakka Uday Kiran <b.kiran@samsung.com>
Mon, 13 Feb 2023 07:16:30 +0000 (12:46 +0530)
This patch disables site-per-process mode of Site Isolation by default
on all Tizen profiles. It has been enabled on Chrome desktop (for
all sites) and on Android (for sites users log into). On Android,
it has been disabled if memory is less than 1077MB.

More details here:
https://www.chromium.org/developers/design-documents/site-isolation

Reference: https://review.tizen.org/gerrit/c/280783

Change-Id: Icbb8e81c53e583634183ad34fa068a4d3e2d7c26
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
content/public/browser/content_browser_client.cc

index f31156b..715d821 100644 (file)
@@ -306,7 +306,7 @@ ContentBrowserClient::GetOriginsRequiringDedicatedProcess() {
 }
 
 bool ContentBrowserClient::ShouldEnableStrictSiteIsolation() {
-#if BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_TIZEN)
   return false;
 #else
   return true;