From f89382c8229a256ab6949dda75dce87e5ccb6def Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 11 May 2022 08:53:21 +0000 Subject: [PATCH] Browser: Revert: Make HTTPS-only mode the default Signed-off-by: Aayush Gupta --- build/e_patches_list.txt | 1 + ...ange-app-and-package-name-to-browser.patch | 4 +-- ...-our-custom-icon-instead-of-chromium.patch | 4 +-- ...03-Browser-Rename-strings-to-browser.patch | 4 +-- ...r-Point-to-our-default-popular-sites.patch | 4 +-- ...owser-Enable-do-not-track-by-default.patch | 4 +-- ...vider-to-share-default-search-engine.patch | 4 +-- ...rowser-Enable-custom-tabs-by-default.patch | 4 +-- ...-Enable-search-suggestion-by-default.patch | 4 +-- ...rowser-Modify-default-search-engines.patch | 4 +-- ...-Redirect-users-to-e-foundation-docs.patch | 4 +-- .../0011-Revert-Bromite-auto-updater.patch | 4 +-- ...Block-gateway-attacks-via-websockets.patch | 4 +-- ...ert-Disable-unified-autoplay-feature.patch | 4 +-- ...ert-Make-HTTPS-only-mode-the-default.patch | 25 +++++++++++++++++++ 15 files changed, 52 insertions(+), 26 deletions(-) create mode 100644 build/patches/0014-Revert-Make-HTTPS-only-mode-the-default.patch diff --git a/build/e_patches_list.txt b/build/e_patches_list.txt index 607fdddc..910ebe7a 100644 --- a/build/e_patches_list.txt +++ b/build/e_patches_list.txt @@ -11,3 +11,4 @@ 0011-Revert-Bromite-auto-updater.patch 0012-Revert-Block-gateway-attacks-via-websockets.patch 0013-Revert-Disable-unified-autoplay-feature.patch +0014-Revert-Make-HTTPS-only-mode-the-default.patch diff --git a/build/patches/0001-Browser-Change-app-and-package-name-to-browser.patch b/build/patches/0001-Browser-Change-app-and-package-name-to-browser.patch index 08df9383..38a9d1e3 100644 --- a/build/patches/0001-Browser-Change-app-and-package-name-to-browser.patch +++ b/build/patches/0001-Browser-Change-app-and-package-name-to-browser.patch @@ -1,7 +1,7 @@ -From 8aefc955dec1242bc7671d961f3fca2661bdacd7 Mon Sep 17 00:00:00 2001 +From 23a5c116a960fd03a5e8b3718acd5c732a98f404 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 05:39:25 +0000 -Subject: [PATCH 01/13] Browser: Change app and package name to browser +Subject: [PATCH 01/14] Browser: Change app and package name to browser Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0002-Browser-Use-our-custom-icon-instead-of-chromium.patch b/build/patches/0002-Browser-Use-our-custom-icon-instead-of-chromium.patch index 1bfbf3f2..ae176f11 100644 --- a/build/patches/0002-Browser-Use-our-custom-icon-instead-of-chromium.patch +++ b/build/patches/0002-Browser-Use-our-custom-icon-instead-of-chromium.patch @@ -1,7 +1,7 @@ -From 605b494b866c718897f813f49979c12d4ada80f8 Mon Sep 17 00:00:00 2001 +From 0d3aabb2673ff5e64656953f3870d4a6ba830b7c Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 06:04:08 +0000 -Subject: [PATCH 02/13] Browser: Use our custom icon instead of chromium +Subject: [PATCH 02/14] Browser: Use our custom icon instead of chromium Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0003-Browser-Rename-strings-to-browser.patch b/build/patches/0003-Browser-Rename-strings-to-browser.patch index 154c14ae..70e58449 100644 --- a/build/patches/0003-Browser-Rename-strings-to-browser.patch +++ b/build/patches/0003-Browser-Rename-strings-to-browser.patch @@ -1,7 +1,7 @@ -From 3bfd9c07913dbc4e9129f53449c0d856dd3f28d1 Mon Sep 17 00:00:00 2001 +From 624b38c577464431b25ba12edf1804251cbe83c3 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 07:12:30 +0000 -Subject: [PATCH 03/13] Browser: Rename strings to browser +Subject: [PATCH 03/14] Browser: Rename strings to browser Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch b/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch index 98bb402e..3fafb0bb 100644 --- a/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch +++ b/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch @@ -1,7 +1,7 @@ -From 2fa7ca2f795dc034501c6d6231668a58b1a71330 Mon Sep 17 00:00:00 2001 +From 0800fb451646fa348f645ed9a92555b6c3c7a0b2 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 07:29:59 +0000 -Subject: [PATCH 04/13] Browser: Point to our default popular sites +Subject: [PATCH 04/14] Browser: Point to our default popular sites Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0005-Browser-Enable-do-not-track-by-default.patch b/build/patches/0005-Browser-Enable-do-not-track-by-default.patch index ba8de8c4..f88bbea1 100644 --- a/build/patches/0005-Browser-Enable-do-not-track-by-default.patch +++ b/build/patches/0005-Browser-Enable-do-not-track-by-default.patch @@ -1,7 +1,7 @@ -From 1c2531bb6e1354cce238ae1b20d13cf0041c7a82 Mon Sep 17 00:00:00 2001 +From f3dc75a5f9148dcc713306f3c4137f34b887e8d6 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 07:34:57 +0000 -Subject: [PATCH 05/13] Browser: Enable do not track by default +Subject: [PATCH 05/14] Browser: Enable do not track by default Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch b/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch index 31e9c73e..f01fdef2 100644 --- a/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch +++ b/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch @@ -1,7 +1,7 @@ -From 0ce1b87a84dda67444c50e735d09fdb01ba8b2f0 Mon Sep 17 00:00:00 2001 +From deb48c99966a136e93e816f67b8ba8ea06b8b9af Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 08:03:13 +0000 -Subject: [PATCH 06/13] Browser: Add provider to share default search engine +Subject: [PATCH 06/14] Browser: Add provider to share default search engine Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch b/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch index 1ab9e5e4..c76a42d1 100644 --- a/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch +++ b/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch @@ -1,7 +1,7 @@ -From bbeef442401a2b4ea85c0d1698fd56fbe4cdbef9 Mon Sep 17 00:00:00 2001 +From e88bb764273e9ce4b838491ed7516b83952140b9 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 29 Nov 2021 03:37:37 +0000 -Subject: [PATCH 07/13] Browser: Enable custom tabs by default +Subject: [PATCH 07/14] Browser: Enable custom tabs by default Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch b/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch index 3db761a5..cb8b0b2e 100644 --- a/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch +++ b/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch @@ -1,7 +1,7 @@ -From 8da94cb4b036764ee70399523f33cf1f8946023f Mon Sep 17 00:00:00 2001 +From 2c1ae3409a068f67c1e1aebdcc96741402869252 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 29 Nov 2021 03:39:21 +0000 -Subject: [PATCH 08/13] Browser: Enable search suggestion by default +Subject: [PATCH 08/14] Browser: Enable search suggestion by default Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0009-Browser-Modify-default-search-engines.patch b/build/patches/0009-Browser-Modify-default-search-engines.patch index 70ba2b81..66cbbc23 100644 --- a/build/patches/0009-Browser-Modify-default-search-engines.patch +++ b/build/patches/0009-Browser-Modify-default-search-engines.patch @@ -1,7 +1,7 @@ -From b8b9c69eadda5428b758be90cde4be89ad88a1fb Mon Sep 17 00:00:00 2001 +From 170dcaa7dbb7e2b4e32dbaa03d965313d48f58c8 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Thu, 18 Mar 2021 13:42:44 +0100 -Subject: [PATCH 09/13] Browser: Modify default search engines +Subject: [PATCH 09/14] Browser: Modify default search engines Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch b/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch index 587956ed..d28f4dbf 100644 --- a/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch +++ b/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch @@ -1,7 +1,7 @@ -From 657c1971c631d686671672be542beb8fdd5341ba Mon Sep 17 00:00:00 2001 +From 2d74048d6984d0c3cff7c549d4e77616865f81ed Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Tue, 11 May 2021 14:22:00 +0200 -Subject: [PATCH 10/13] Browser: Redirect users to e foundation docs +Subject: [PATCH 10/14] Browser: Redirect users to e foundation docs Signed-off-by: Aayush Gupta --- diff --git a/build/patches/0011-Revert-Bromite-auto-updater.patch b/build/patches/0011-Revert-Bromite-auto-updater.patch index 7fb41d21..3280213a 100644 --- a/build/patches/0011-Revert-Bromite-auto-updater.patch +++ b/build/patches/0011-Revert-Bromite-auto-updater.patch @@ -1,7 +1,7 @@ -From 423353cc76ffd606fd838746c989221f0d8ad014 Mon Sep 17 00:00:00 2001 +From 8c3138a251dbb837816b486d4334badea37e7fd4 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 1 Apr 2022 11:47:29 +0000 -Subject: [PATCH 11/13] Revert "Bromite auto updater" +Subject: [PATCH 11/14] Revert "Bromite auto updater" This reverts commit ee027318d68d6aed17a8f130b1b323cc05bd8ef0. --- diff --git a/build/patches/0012-Revert-Block-gateway-attacks-via-websockets.patch b/build/patches/0012-Revert-Block-gateway-attacks-via-websockets.patch index bf9cee99..2f3c473c 100644 --- a/build/patches/0012-Revert-Block-gateway-attacks-via-websockets.patch +++ b/build/patches/0012-Revert-Block-gateway-attacks-via-websockets.patch @@ -1,7 +1,7 @@ -From 8e120aa0470ed9c9967787dd630aca7e0e02bfa3 Mon Sep 17 00:00:00 2001 +From a1a347bd80d55b2fc928ba59312a07e1e17b50e3 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Tue, 22 Mar 2022 08:34:04 +0000 -Subject: [PATCH 12/13] Revert "Block gateway attacks via websockets" +Subject: [PATCH 12/14] Revert "Block gateway attacks via websockets" This reverts commit eed9daba155d6440f85a55d4ebbf4da3914eedde. --- diff --git a/build/patches/0013-Revert-Disable-unified-autoplay-feature.patch b/build/patches/0013-Revert-Disable-unified-autoplay-feature.patch index 718b027a..dd281b5f 100644 --- a/build/patches/0013-Revert-Disable-unified-autoplay-feature.patch +++ b/build/patches/0013-Revert-Disable-unified-autoplay-feature.patch @@ -1,7 +1,7 @@ -From 56a2259f1167e8defc5ab0e0048ca07a37f3694e Mon Sep 17 00:00:00 2001 +From 00c351a00a35c2ffd7fecda48a241ab1ce47dea2 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Tue, 22 Mar 2022 08:34:28 +0000 -Subject: [PATCH 13/13] Revert "Disable unified autoplay feature" +Subject: [PATCH 13/14] Revert "Disable unified autoplay feature" This reverts commit a2e273b85e59dc44fb312047ca0cc07692114d3b. --- diff --git a/build/patches/0014-Revert-Make-HTTPS-only-mode-the-default.patch b/build/patches/0014-Revert-Make-HTTPS-only-mode-the-default.patch new file mode 100644 index 00000000..9c51296f --- /dev/null +++ b/build/patches/0014-Revert-Make-HTTPS-only-mode-the-default.patch @@ -0,0 +1,25 @@ +From 0803aef5ab7a5d404ccd112374d01baaa69a8f2d Mon Sep 17 00:00:00 2001 +From: Aayush Gupta +Date: Wed, 11 May 2022 08:46:16 +0000 +Subject: [PATCH 14/14] Revert "Make HTTPS-only mode the default" + +This reverts commit e98e6f1936862af921b9d900fbc5ad4cc9c365ae. +--- + chrome/browser/ui/browser_ui_prefs.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc +index 868d0d3e9b603..06360c862b0ee 100644 +--- a/chrome/browser/ui/browser_ui_prefs.cc ++++ b/chrome/browser/ui/browser_ui_prefs.cc +@@ -165,6 +165,6 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) { + #endif + + registry->RegisterBooleanPref( +- prefs::kHttpsOnlyModeEnabled, true, ++ prefs::kHttpsOnlyModeEnabled, false, + user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); + } +-- +2.25.1 + -- GitLab