Skip to content

Commit 50c26ca

Browse files
committed
Fix problem where HTTPSE toggle doesn't work (always upgrades)
Fixes brave/brave-browser#9099 Unfixes brave/brave-browser#4381 -------- Revert "Merge pull request #4537 from jonathanKingston/bug-4381" This reverts commit 86bf5ed, reversing changes made to affeac4.
1 parent a2b326e commit 50c26ca

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/brave_main_delegate.cc

-8
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@
3030
#include "components/offline_pages/core/offline_page_feature.h"
3131
#include "components/omnibox/common/omnibox_features.h"
3232
#include "components/password_manager/core/common/password_manager_features.h"
33-
#include "components/security_state/core/features.h"
3433
#include "components/sync/driver/sync_driver_switches.h"
3534
#include "components/translate/core/browser/translate_prefs.h"
3635
#include "content/public/common/content_features.h"
3736
#include "content/public/common/content_switches.h"
3837
#include "services/network/public/cpp/features.h"
39-
#include "third_party/blink/public/common/features.h"
4038
#include "third_party/widevine/cdm/buildflags.h"
4139
#include "ui/base/ui_base_features.h"
4240

@@ -155,13 +153,7 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) {
155153

156154
// Enabled features.
157155
const std::unordered_set<const char*> enabled_features = {
158-
// Upgrade all mixed content
159-
blink::features::kMixedContentAutoupgrade.name,
160156
password_manager::features::kPasswordImport.name,
161-
// Remove URL bar mixed control and allow site specific override instead
162-
features::kMixedContentSiteSetting.name,
163-
// Warn about Mixed Content optionally blockable content
164-
security_state::features::kPassiveMixedContentWarning.name,
165157
// Enable webui dark theme: @media (prefers-color-scheme: dark) is gated on
166158
// this feature.
167159
features::kWebUIDarkMode.name,

0 commit comments

Comments
 (0)