Repository navigation
chore(chromium): stop disabling the HttpsUpgrades feature - #43455
Merged
Dmitry Gozman (dgozman) merged 1 commit intoOct 16, 2026
Merged
Dmitry Gozman (dgozman) merged 1 commit into
Dmitry Gozman (dgozman) merged 1 commit into
Conversation
Chromium 158 enables HTTPS-First balanced mode by default, which upgrades http:// navigations regardless of the HttpsUpgrades feature. Disabling HttpsUpgrades no longer changes anything there, and on older Chromium it only prevented the silent fallback upgrades that stable Chrome has shipped since version 120. Behave like a real browser instead.
Contributor
Test results for "tests 1"4 flaky23558 passed, 710 skipped Merge workflow run. |
Contributor
Test results for "MCP"5154 passed, 614 skipped Merge workflow run. |
Pavel Feldman (pavelfeldman)
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HttpsUpgradesfrom the list of disabled Chromium features, so headed Chromium behaves like a real browser.Local workaround
History
HttpsUpgradesby default (https://chromium-review.googlesource.com/c/chromium/src/+/4922641). It upgrades top-levelhttp://navigations tohttps://and silently falls back tohttp://when the upgrade fails.HttpsUpgradesto our disabled list because the upgrade attempts sentCONNECTrequests to the test proxy and broke the proxy tests.HttpsFirstBalancedModeAutoEnable). It performs the same upgrade, but on failure it shows an interstitial instead of falling back. The upgrade is skipped only whenHttpsUpgradesis disabled and no interstitial mode is active, so disablingHttpsUpgradesno longer has any effect on Chromium 158 and later.Effect
channel: 'chromium'): no change, upgrades are already active through balanced mode.http://navigations to public-looking hostnames on the default port are first tried overhttps://. If that fails, Chromium silently falls back tohttp://. If it succeeds, the page lands on thehttps://URL, so a route registered for thehttp://URL does not match.http://localhost, loopback addresses,*.localhost, non-default ports, single-label hostnames, private IPs and reserved domains such as.testand.localare never upgraded, in any mode.