Netzenbot 4d074f7a47 Fix flaky BraveExtensionsManifestV2InstallerBrowserTest.InstallExtension (#33837)
The test was intermittently failing with SSL handshake errors and
"Failed to download extension." because the kHostResolverRules used
MAP *:443 which routed ALL HTTPS traffic to the test server. Other
browser subsystems (Safe Browsing, sync, etc.) would also connect to
the test server, causing spurious SSL handshake failures that could
interfere with the extension CRX download.

Narrow the host resolver rule to MAP a.test:443 so only the test
domain is routed to the HTTPS test server. Also move the
host_resolver()->AddRule() call to the beginning of SetUpOnMainThread()
to ensure DNS resolution is configured before the server starts
accepting connections.

Resolves https://github.com/brave/brave-browser/issues/52732
2026-02-10 17:25:09 -05:00
2026-02-10 22:06:19 +00:00
2026-02-10 22:06:19 +00:00
2026-02-10 22:06:19 +00:00

Brave Core

Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser

Follow @brave on Twitter for important announcements.

Resources

Community

You can ask questions and interact with the community in the following locations:

S
Description
No description provided
Readme MPL-2.0
3.8 GiB
Languages
C++ 36.9%
HTML 31.6%
Swift 9.4%
TypeScript 9%
Java 4.8%
Other 8.1%