Commit Graph
78616 Commits
Author SHA1 Message Date
Sangwoo Ko fc40b109df Remove #define in c/b/ui/accelerator_table.cc (#36599)
* Remove #define in c/b/ui/accelerator_table.cc

Replaces #define macro with plaster + chromium_src override.
plaster will rename GetAcceleratorList() to GetAcceleratorList_ChromiumImpl()
so that we can have our own implementation of GetAcceleratorList().
2026-05-28 04:01:34 +01:00
brave-builds d8d61896d7 1.93.3 2026-05-28 00:42:17 +00:00
brave-builds 8fd8b90c3f 1.93.2 2026-05-28 00:03:35 +00:00
Jay Harris 6f918491ed [AI Chat]: Fix table header lineup (#36786) 2026-05-28 00:56:07 +01:00
jeremytieman e15973a4d9 Remote model fetch and parsing (#35089)
* Remote model fetch and parsing.

* Applied review suggestions

* feat(ai_chat): update remote model parser to server capabilities format

* feat(ai_chat): address review feedback on RemoteModelsFetcher
2026-05-27 16:37:46 -07:00
Kyle Hickinson 4c5405a5f4 Partial Revert "[iOS]Restore private tabs when "Keep private tabs" is enabled (#34421)" (#36783)
This removes the newly added auth check when the Private Tabs > Require Face ID setting is enabled which could conflict with Browser Lock and leave the user stuck on the launch screen
2026-05-27 19:37:11 -04:00
Terry Mancey 898059b5a2 [ads] Unregister resource components on shutdown and opt-out (#36769)
Resource components were registered with the component updater but never
explicitly unregistered, causing it to keep downloading updates for
country and language models even after the ads service shut down or the
user opted out of notification ads. Components are now unregistered in
OnPrefChanged when the service becomes ineligible, and the language
component is additionally unregistered immediately when the user opts
out of notification ads while the service is still running.
2026-05-27 15:45:55 -05:00
Alex fba382bb84 [VPN 2.0] Split VPN utils into shared and V1-only targets (#36757)
To add a new BraveVpnService implementation based on Architecture 2.0,
which must co-exist with Architecture 1.0 for quite a while, we need
to split service's interface and implementation. All the external
components will keep accessing VPN service via the BraveVpnService
interface, but the implementation mostly goes into BraveVpnServiceImpl.

This incremental change splits "brave_vpn" target into two:
- "brave_vpn" itself, shared between V1 and V2 implementations.
- "v1_utils", a strictly V1 target, currently containing the VPN
  connection manager utility code for Architecture 1.0.

Most existing targets will continue depending on the shared
"brave_vpn"; "v1_utils" is used only in the specific place where V1
connection manager creation is done, and will be later gated by a
buildflag.

Implements part of https://github.com/brave/brave-browser/issues/54597
2026-05-27 21:18:43 +01:00
Aleksei Khoroshilov 26cd1b5c32 Restore pinned tabs with containers. (#36683)
* Restore pinned tabs with containers.

* Apply review suggestions.
2026-05-28 02:53:34 +07:00
Darnell Andries b9b4c5d9e6 Large chunked OHTTP request fix (#36766)
The RFC suggests a maximum chunk size of 16,384 bytes. If a request is made with
a plaintext length that is greater than the limit, split it up into 15kb chunks and
encrypt them individually.
2026-05-27 20:53:03 +01:00
Terry Mancey 9189d8eb56 [ads] Replace tuple-based URL response results with explicit success/error types (#33780)
URL response handlers previously returned anonymous pairs of a message
string and a retry flag, making it unclear at call sites what each
value represented. Handlers now return UrlResponseResult<T>, carrying
either the success value or a UrlResponseErrorInfo with named fields,
making intent obvious and reducing the chance of mistakes.
2026-05-27 14:40:40 -05:00
Terry Mancey 8e31ee7e86 [ads][CodeHealth] Remove stale kMaximumNotificationAdsPerHour pref migration (#36768)
The migration that cleared kMaximumNotificationAdsPerHour and opted the
user out of notification ads when the value was zero was added in
08/2023. The migration has been in place long enough that all affected
users have upgraded, so remove it.
2026-05-27 14:31:01 -05:00
Christian Mazakas 22bb9b9634 [Polkadot] [Wallet] add Polkadot network selector when viewing on block explorer (#36745)
Resolves brave/brave-browser#55848

Add a new modal for selecting Polkadot networks, which then grabs the correct
chain id for ss58 address generation and also the correct block explorer URL.
For Polkadot, the main block explorer we use will set parachain-specific
subdomains.
2026-05-27 12:07:28 -07:00
AlexeyBarabash fba7852b51 [Android][Sync] Reading list option (#36761)
* [cr149][Android][Sync] Show Reading list type at UI

Resolves https://github.com/brave/brave-browser/issues/55850
2026-05-27 21:35:05 +03:00
Nuo Xu 226bbd67f3 [iOS][Wallet] TLD Interstitial Screen UI/UX updates (#36707) 2026-05-27 14:09:07 -04:00
brave-builds bf6afaf9ea 1.93.1 2026-05-27 17:39:12 +00:00
brave-builds 5891b8077a Branch migration - master branch (#36765)
Update Nightly channel to: 1.93.0
2026-05-27 18:15:15 +01:00
Simone Arpe 8a815b13e3 Show correct amount to send and correct gas fee on confirmation screen (#36753) 2026-05-27 18:12:46 +02:00
brave-builds dae39cb73e 1.92.107 2026-05-27 16:03:33 +00:00
Brian R. Bondy 256f2f332c Remove CS-010 brace style deviation from Brave best practices (#36759) 2026-05-27 11:35:43 -04:00
Brian R. Bondy be0ee5d7cc Fix Brave Origin overlay on other settings pages during search (#36742) 2026-05-27 11:26:55 -04:00
samartnik c834e2aa5e [Android] Fixes for menu items on tablets (#36756) 2026-05-27 16:05:25 +01:00
Christian Mazakas c36d985d6f [Polkadot] [Wallet] simplify handling of chain metadata (#36518)
Update how we handle chain metadata by returning the CXX-generated struct
directly and relocating the definition of the runtime parsing routines, removing
the need for intermediate structs. We also add defaulted implementations of the
default constructor and equality operators. We update the code to provide direct
access to the CxxPolkadotChainMetadata data members via the arrow operator,
which removes the need for getters.

This is motivated by the number of fields attached the metadata growing
substantially over time.
2026-05-27 07:43:37 -07:00
Nuo Xu f26bee9033 [Wallet] Update Infura to Chainstack in copy and links (#33354) 2026-05-27 10:11:17 -04:00
Nuo Xu 78086ecdd3 [iOS][Wallet] Enable wallet webui and zcash shielded tx feature flag by default (#36641)
enable wallet webui and zcash shielded tx feature flag by default
2026-05-27 10:09:34 -04:00
Douglas Daniel dd71138cea [Wallet]: Fix Duplicate Key Warning on Deposit Screen (#36735)
Fixes a duplicate Key warning on the Wallet Deposit screen
2026-05-27 07:55:59 -05:00
Douglas Daniel b4556dd4f8 [Wallet]: Fix Back Button on Deposit Funds Screen (#36738)
Fixes a missing back button on the Deposit funds screen
2026-05-27 07:50:42 -05:00
brave-builds 218549d05f 1.92.106 2026-05-27 12:33:14 +00:00
brave-builds 33748d5462 1.92.105 2026-05-27 12:08:12 +00:00
brave-builds a3f80a14b1 1.92.104 2026-05-27 02:19:11 +00:00
brave-builds 18d22cfa17 1.92.103 2026-05-27 00:03:28 +00:00
Darnell Andries 4b89a12e89 [AI Chat] Enable AIChatCodeExecutionTool by default (#36744) 2026-05-27 00:52:42 +01:00
Darnell Andries 914163af5e [AI Chat] Relay outer OHTTP response code to response handler (#36743) 2026-05-27 00:45:23 +01:00
dependabot[bot] 970b49781c Bump qs from 6.15.0 to 6.15.2 (#36664)
Bumps [qs](https://github.com/ljharb/qs) from 6.15.0 to 6.15.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.15.0...v6.15.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.15.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 00:15:20 +01:00
Serg 2c77c7f21c [Origin] Initialize BraveOriginPolicyManager before profile builds (#36740)
`BraveOriginPolicyManager::Init` was only called lazily from
`BraveOriginServiceFactory::BuildServiceInstanceForBrowserContext`,
which runs during profile keyed-service build. Profile pref-store init
waits on `PolicyService::IsInitializationComplete`, which waits on
`BraveProfilePolicyProvider::IsInitializationComplete`, which gates on
`manager->IsInitialized()` -- and that's only flipped by the lazy call
that itself is gated on profile build. Cycle manifests as "stuck on
profile selection screen" for some users.

Initialize the manager eagerly at the end of `BraveBrowserProcessImpl::Init()`,
right next to the existing `AdBlockOnlyModePolicyManager::Init` call. The
factory's lazy `if (!IsInitialized()) Init(...)` block stays as a backstop
for tests that bypass `BraveBrowserProcessImpl`.

Resolves: https://github.com/brave/brave-browser/issues/55733
2026-05-26 19:11:06 -04:00
Jay Harris 4aa0cfb1fa [NTP]: New tab page Brave News card doesn't respect the openArticlesInNewTab preference (#36709) 2026-05-26 23:19:12 +01:00
Brian R. Bondy 8a2ad8be04 Hide Email Alias keyboard shortcuts when disabled (#36690)
Fixes https://github.com/brave/brave-browser/issues/55597
2026-05-26 16:43:06 -04:00
Brian R. Bondy a4dbd4092c Defer OpenOriginSettings out of CredentialSummary callback (#36705)
Calling chrome::ShowSettingsSubPageForProfile inline from the SKU
CredentialSummary mojo reply runs during the same dispatch frame that
just fired SetPurchased() — which reloads managed prefs via the policy
provider observer chain. Opening a settings tab synchronously from that
mid-cascade state has produced BackupRefPtr dangling raw_ptr crashes
when the Refresh button on account.brave.com first detects a purchase.

Set did_open_origin_settings_ before posting and let the helper run on
the next loop iteration; the WeakPtr guards against the service being
torn down between the post and the run.

Also drop a stray LOG(ERROR) debug print left in OnCredentialSummary.

Fixes brave/brave-browser#55632
2026-05-26 16:42:27 -04:00
Aleksei Seren 719c0d16a0 Enable TimePeriodStorageTest test on Windows (#36706)
The GetHighestValueInPeriodExcludesDataOutsideWindowAfterDSTTransition
 test was disabled on Windows due to possible spurious failures cause by `ScopedTimezoneForTesting` implementation. However, the test fixes its
base time and timezone directly, so it is not affected by spurious failures.
Remove the Windows only `MAYBE_` guard to enable the test on all platforms.
2026-05-26 20:05:50 +01:00
Christian Mazakas 040ccc8ede [Polkadot] [Wallet] remove dead code in Polkadot (#36594)
Originally, the PolkadotUnsignedTransfer was authored so that it could be stored
inside of the TxMeta structures used by Wallet. Unfortunately, this created a
reliance of chain metadata where it shouldn't exist so it was abandoned. The
code currently serves no production-facing purpose and as such should be
removed.

We update only one test and change it to instead examine the call indices and
ss58 prefix used by the chains (mainnet vs testnet).
2026-05-26 11:47:22 -07:00
Aleksei Serenand 880010d8e8 [ads] Fix crash on Android when opening a dynamic NTT (#36722)
The PR fixes crash on Android when opening a new tab with dynamic NTT
after the Chromium 149 bump, caused by passing null as attach params.

Co-Authored-By: serg@brave.com
2026-05-26 19:24:14 +01:00
Aleksei Seren b302d127d2 [CodeHealth] Use ScopedObservation in NTP Background Images code (#36726)
Replaces manual `AddObserver/RemoveObserver` pairs in `ViewCounterService`,
`NTPBackgroundImagesBridge`, and `NTPBackgroundImagesServiceWaiter` with
base::ScopedObservation so observer cleanup is automatic and the
lifecycle is consistent with the rest of the codebase.
2026-05-26 13:18:18 -05:00
samartnik ab4a8d0662 [Android] Fix for the landscape view for VPN paywall activity (#36730) 2026-05-26 19:16:02 +01:00
Kyle Hickinson 26470af4d2 [iOS] Handle all executions errors from simulator test runner summary (#36727)
The `step_text` key is only ever set if an exception was raised while executing the iOS simulator test runners, we should ensure that all exceptions result in a failure to catch issues such as `AppLaunchError` which occurs when the test suite crashes and fails to run any tests
2026-05-26 19:04:09 +01:00
StephenHeaps 644f02bfc2 [iOS] Fix missing script injection in AI Chat Associated Content for history & bookmarks (#36689)
Fixup DetachedTabPrivacyHelper.
- Include subframes in PageData so subframe scriptlets are built
- Inject deAmp, request blocking and tracking stats scripts
2026-05-26 13:29:11 -04:00
samartnik 383679f3d6 [Android] Additional fixes for Nala icons (#36719)
* [Android] Additional fixes for Nala icons

* [Review] UI changes for VPN paywall

* Fixes on rebase to master
2026-05-26 18:24:17 +01:00
Simone Arpe 6f043d9866 Show warning message for all EIP-712 transactions (#36716) 2026-05-26 19:13:02 +02:00
Kyle Hickinson 338be09e58 [iOS] Add application context check in Origin factory constructor (#36721)
Fixes IOSChromeUnitTest bundles crashing since the application context is not set up for those unit tests
2026-05-26 12:11:39 -04:00
brave-builds e0b03fdfcc 1.92.102 2026-05-26 16:03:35 +00:00
Netzenbot 9bbc220314 Disable ServiceWorkerStopTrackingBrowserTest MSAN failure (#36723)
The test captures a const reference to a ServiceWorkerRunningInfo
map entry, stops the service worker (which removes the entry), then
reads from the dangling reference in OnStoppedSync(). MSan catches
this as use-of-uninitialized-value. Same root cause as the sibling
test already filtered (issue #54959).

Upstream Chromium test, stable upstream (0.3% flake rate, LUCI
Analysis 30-day lookback). No Brave modifications in the test area.

Resolves https://github.com/brave/brave-browser/issues/55396
2026-05-26 10:56:47 -04:00