Commit Graph
75505 Commits
Author SHA1 Message Date
Netzenbot 046db80cf1 Fix test: SplitViewLinkTest.SameDocumentNavigationDoesNotRedirect (#33916)
Replace RunLoop::Run() with RunUntil-based timeout in the
SameDocumentCommitObserver to prevent indefinite hangs when the
same-document navigation doesn't fire DidFinishNavigation on macOS
arm64 CI. The observer still uses event-driven detection via
DidFinishNavigation, but the wait mechanism now has a built-in
timeout instead of blocking forever.

Also add verification that the right pane URL doesn't change during
same-document navigation (no unintended redirect).

Fixes https://github.com/brave/brave-browser/issues/52808
2026-02-15 07:14:05 -05:00
brave-buildsandbrave-builds-ro 7d82652d9e Roll perf profiles update (update-perf-profile-2026-02-10-16-16) (#33832)
* Update perf profile brave-typical-win using v1.89.17
* Update perf profile brave-typical-android using v1.89.13
* Update perf profile chrome-typical-win using v1.89.17
* Update perf profile chrome-typical-android using v1.89.13
* Update perf profile brave-typical-mac using v1.89.15
* Update perf profile chrome-typical-mac using v1.89.15

---------

Co-authored-by: brave-builds-ro <devops+robuilds@brave.com>
2026-02-15 13:46:11 +04:00
Szilard Szaloki 884c6d8ddc Account: limit email fields to 254 characters (#33952) 2026-02-14 21:56:50 +00:00
Mikhail 367be052ab Fix some eslint js issues (#33856)
The PR fixes eslint issues in *.js files and removes the related rules from the backlist.
2026-02-14 22:10:28 +04:00
Terry Mancey 815fdf1ef4 [ads] Fix OHTTP environment when command-line argument is not specified (#33861)
When no command-line argument is provided for specifying the OHTTP
environment, ads does not correctly fall back to the expected default
OHTTP environment, i.e., staging for non-official builds, and production
for official builds, unless overridden.
2026-02-14 05:53:50 -07:00
brave-builds e927a4351d 1.89.39 2026-02-14 08:43:37 +00:00
Serg 5a32bc88c0 Update Android Origin payment UI from subscription to one-time purchase (#33950)
Update Android Origin paywall from subscription to one-time purchase

- Replace monthly/yearly subscription plan selectors with single "One Time Purchase" plan row
- Add 4th feature benefit: one-time purchase, no subscription cost
- Add Origin description and Brave Search Premium note sections
- Replace "Try 7 days free" with "Buy now" button
- Replace "Refresh your credentials" with "Get a login code" button
- Remove "Learn more about Origin" button and unused resources
- Update text styles per design spec
- Comment out billing integration for later hookup

Resolves: https://github.com/brave/brave-browser/issues/52855
2026-02-14 04:20:39 +00:00
Szilard Szaloki 59db5ba527 Bumps Nala to HEAD. (#33922) 2026-02-13 15:48:21 -07:00
Kamil Jozwiak c843f14740 Update from Chromium 145.0.7632.68 to Chromium 145.0.7632.76. (#33941)
<!-- Add brave-browser issue below that this PR will resolve -->
Resolves https://github.com/brave/brave-browser/issues/52842

<!-- CI-related labels that can be applied to this PR:
* CI/disable-pipeline-step-cache - instruct CI to not cache build steps
between runs for the same commit hash
* CI/enable-coverage - enable coverage reporting for your code changes
* CI/enable-test-only-affected - instruct CI to only run tests affected
by your change
* CI/run-audit-deps (1) - check for known npm/cargo vulnerabilities
(audit_deps)
* CI/run-network-audit (1) - run network-audit
* CI/run-perf-smoke-tests - run smoke performance tests
* CI/storybook-url (1) - deploy storybook and provide a unique URL for
each build
* CI/run-upstream-tests - run Chromium unit and browser tests on Linux
and Windows (otherwise only on Linux)
* CI/skip-upstream-tests - do not run Chromium unit, or browser tests
(otherwise only on Linux)
* CI/run-teamcity - run TeamCity
* CI/skip-teamcity - skip TeamCity
* CI/skip - do not run CI builds (except noplatform)
* CI/run-linux-arm64, CI/run-macos-x64, CI/run-windows-arm64,
CI/run-windows-x86 - run builds that would otherwise be skipped
* CI/skip-linux-x64, CI/skip-android, CI/skip-macos-arm64, CI/skip-ios,
CI/skip-windows-x64 - skip CI builds for specific platforms

(1) applied automatically when some files are changed (see:
https://github.com/brave/brave-core/blob/master/.github/labeler.yml)
-->

<!--
## Checklist:

- Review design docs
[Browser design
principles](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/chrome_browser_design_principles.md)
[Style
guide](https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++.md)
[Core principles](https://www.chromium.org/developers/core-principles/)
- Ensure there are
(tests)[https://www.chromium.org/developers/testing/]. Unit test as much
as possible (including edge cases), but also include browser tests
covering high level functionality.
- Ensure that there are comments explaining what classes/methods are/do.
The "why" is often more important than the "what" in comments. Also
update any relevant docs (moving docs from wiki to brave-core if
necessary).
- Request security or other review (third-party libraries, rust code,
etc...) if applicable [security/privacy review is
needed](https://github.com/brave/brave-browser/wiki/Security-reviews)
[other review](https://github.com/brave/reviews/issues/new/choose)
Also see [adding third-party
libraries](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/adding_to_third_party.md)
for general guidelines on using third party code
- Make sure there is a
[ticket](https://github.com/brave/brave-browser/issues) for your issue
- Use Github [auto-closing
keywords](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue)
in the PR description above
- Write a good [PR/commit
description](https://google.github.io/eng-practices/review/developer/cl-descriptions.html)
- Squash any review feedback or "fixup" commits before merge, so that
history is a record of what happened in the repo, not your PR
- Add appropriate labels (`QA/Yes` or `QA/No`; `release-notes/include`
or `release-notes/exclude`; `OS/...`) to the associated issue
- Checked the PR locally:
* `npm run test -- brave_browser_tests`, `npm run test --
brave_unit_tests`
[wiki](https://github.com/brave/brave-browser/wiki/Tests)
* `npm run presubmit`
[wiki](https://github.com/brave/brave-browser/wiki/Presubmit-checks),
`npm run gn_check`, `npm run tslint`
- Run `git rebase master` (if needed)
-->
2026-02-13 17:32:37 -05:00
Jocelyn Liu f75bf4d429 Expose Conversation API V2 flag in brave://flags (#33938) 2026-02-13 21:53:07 +00:00
Max Karolinskiy 891edcc3b4 Removes no longer needed image overrides. (#33849)
Chromium change:

https://chromium.googlesource.com/chromium/src.git/+/bd2d4b7116ef9

commit bd2d4b7116ef955394188f334ddaaee26cb328c6
Author: Mohamed Amir Yosef <mamir@chromium.org>
Date:   Wed Jul 28 10:51:14 2021 +0000

    [Autofill/Passwords] Clean-up old Autofill bubble header images

    Bug: 1213685
2026-02-13 16:19:52 -05:00
Brian Johnson 00218afe33 Ensure BraveRequestContext is only accessed on one thread (#33862)
This is necessary to eventually replace shared_ptr with unique_ptr/WeakPtr
2026-02-13 14:03:07 -07:00
brave-builds 1e1f182fab 1.89.38 2026-02-13 20:08:18 +00:00
Kevin Smith fecf39eff4 Only support single-digit placeholders in formatString (#33934)
Often placeholders can appear next to an actual digit in the
translated string (e.g. <ph name="X">$1>0), which will appear on
the front end as "$10". In order to interpret such strings
correctly, we should only support single-digit placeholders by
default. Support for multi-digit placeholders may be added in
the future.

In addition, formatString has been modified to write errors to
the console instead of throw (which can take down the entire page).
2026-02-13 15:03:59 -05:00
Max Karolinskiy 71d9acb474 Update from Chromium 145.0.7632.68 to Chromium 145.0.7632.76. 2026-02-13 13:53:49 -05:00
Kevin Smith f6724c5b22 [Shields UI] Remove "key" from API definition (#33937) 2026-02-13 17:34:02 +00:00
brave-builds d39bbac3c9 1.89.37 2026-02-13 16:03:22 +00:00
StephenHeaps e6f5aa60c0 [iOS] Add some additional User Agents to debug view (#33918)
* Add Safari mobile/desktop with Brave comment to User Agent Override

* Add Safari mobile/desktop w/ Brave suffix
2026-02-13 10:28:09 -05:00
brave-builds 5418e9d0f3 1.89.36 2026-02-13 13:12:38 +00:00
brave-builds 7dd617fe46 1.89.35 2026-02-13 13:08:51 +00:00
brave-builds e453210d95 1.89.34 2026-02-13 13:03:29 +00:00
Mihai PLESA a40d65c50b 1.89.33 2026-02-13 12:59:14 +00:00
Jocelyn Liu 6559f9df89 Support lines split across chunks in api_request_helper's ParseSSE (#33926)
Currently ParseSSE splits each incoming chunk into lines independently,
but network chunks don't always align with SSE line boundaries. When a
line is split across chunks, usually happens when the event is large,
the first fragment produces invalid JSON and later fragments are dropped
due to not starting with "data: {" prefix.

This commit replaces base::SplitStringPiece with incremental line
scanning, each complete line is handed to the new ProcessSSELine helper
and processed the same as before. Partial lines missing line breaks are
buffered in |sse_line_buffer_| until a line ending completes them in the
next chunk.

Also clears |sse_line_buffer_| on retry and completion.
2026-02-13 04:02:11 -08:00
Mihai PLESA 58b2c2932c Revert "[Rewards] Move content and engine targets behind build flag" (#33929)
Revert "[Rewards] Move content and engine targets behind build flag (#33898)"

This reverts commit fe5425a9af.
2026-02-13 10:03:37 +00:00
Anirudha Bose 2581a6ed99 [Wallet] [Swap] Support shielded ZEC swaps with Near Intents (#33905) 2026-02-13 05:53:05 +00:00
brave-builds 968ea3ea88 1.89.32 2026-02-13 05:32:49 +00:00
brave-builds d5005b3073 1.89.31 2026-02-13 05:29:56 +00:00
Max Karolinskiy e1345be474 Update from Chromium 145.0.7632.45 to Chromium 145.0.7632.68. (#33915) 2026-02-12 23:42:55 -05:00
Douglas Daniel defd23baa1 [Wallet]: Fix Connected Account State (#33852)
Fixes a bug where Selected Account did not match the currently connected account.
2026-02-12 21:34:30 -06:00
Szilard Szaloki 63fae066bc Account: std::optional<>::transform<>() + CHECK_DEREF() (#33908) 2026-02-13 01:44:55 +00:00
Kevin Smith e3d2ca0cf3 [News] Fix three-dot menu button on article view (#33921) 2026-02-12 20:37:15 -05:00
Szilard Szaloki 9cb1be09b1 Account: extract <brave-account-email-input> component (#33890) 2026-02-12 18:27:43 -07:00
brave-builds f703fce30b 1.89.30 2026-02-13 00:02:56 +00:00
Pete Miller d922370d6b Introduce createInterfaceApi infrastructure to AI Chat (#33688)
* Add new API infrastructure for AI Chat

Add new createInterfaceApi-based API files that will be used to migrate
AI Chat from the old PageAPI singleton pattern. This commit adds the
infrastructure without changing any consumers:

- ai_chat_api.ts: New createAIChatApi() factory for service/UI handler
- conversation_api.ts: New createConversationApi() factory
- bind_conversation.ts: Conversation binding helpers
- mock_interfaces.ts: Mock implementations for testing

The existing api/index.ts (old getAPI() singleton) remains unchanged
so all current consumers continue to work.
2026-02-12 23:41:45 +00:00
Simon Hong 94221639b5 Set bubble arrow direction based on sidebar position (#33886)
Add GetBubbleArrowForSidebar() utility to dynamically set bubble arrows (LEFT_TOP or RIGHT_TOP) based on sidebar horizontal alignment preference.

Applied to:

SidebarAddItemBubbleDelegateView
SidebarEditItemBubbleDelegateView
SidebarItemAddedFeedbackBubble
This ensures bubbles point toward the sidebar regardless of whether it's positioned on the left or right side of the browser window.

This change fixes sidebar bubble's offscreen position on some Linux environments by setting bubble arrow position based on sidebar position.

TEST=SidebarUtilTest.GetBubbleArrowForSidebarTest

Resolves brave/brave-browser#50967
Resolves brave/brave-browser#49174
2026-02-13 07:53:25 +09:00
Jay Harris 7f83e2a14b [Shields]: Remove redundant labels & fix alignment (#33910) 2026-02-12 22:44:56 +00:00
brave-builds 0c29cc9c1f 1.89.29 2026-02-12 22:30:07 +00:00
Kevin Smith a2a5cf63e5 [Shields UI] Add interface API for updated panel front-end (#33789) 2026-02-12 16:35:14 -05:00
Pete Miller c9860a26d9 [createInterfaceApi] fix event data hook useCurrentMyEvent() (#33865)
[createInterfaceApi] fix event hook useCurrentMyEvent()
2026-02-12 21:32:25 +00:00
Brian Johnson 986adb1303 Convert BraveRequestInfo from Struct to Class to prepare for thread checks (#33895)
This is the first step in converting BraveRequestInfo to use unique_ptr/WeakPtr instead of shared_ptr. This change is necessary in order to add thread checks internally to enforce correct usage.
2026-02-12 21:14:18 +00:00
Netzenbot 30f4502641 Disable Chromium test IsolatedWebAppRetryTest.FirstInstallFailsRetrySucceeds (#33909)
This is an upstream Chromium test with an 8.1% flake rate per LUCI
Analysis (30-day lookback). The test has intermittent timing failures
in IWA retry logic using MOCK_TIME + BackoffEntry - expected 1 install
task but got 2 due to retry firing earlier than expected.

No Brave modifications exist in the IWA policy area. Another test from
the same class (RetryTriggeredWhenAllTasksDone) is already filtered for
the same reason.

Resolves https://github.com/brave/brave-browser/issues/52780
2026-02-12 16:03:33 -05:00
Kevin Smith 120664f76f [Wallet UI] Add missing dep to Android page targets (#33894) 2026-02-12 15:21:26 -05:00
Kyle Hickinson 6f4a35e6b8 [iOS] [AI Chat] Add missing apiHost source setup (#33903)
This was added originally in https://github.com/brave/brave-core/pull/33453 but was missed in the iOS WebUI setup
2026-02-12 18:56:26 +00:00
Kevin Smith fe5425a9af [Rewards] Move content and engine targets behind build flag (#33898) 2026-02-12 13:42:45 -05:00
Kevin Smith 3963d42a90 [NTP] Update strings for Brave Search placeholder text (#33899) 2026-02-12 13:23:22 -05:00
Netzenbot d7a97d3cb6 Flush thread pool after TestingProfile storage partition shutdown (#33889)
When a TestingProfile is destroyed, ShutdownStoragePartitions() triggers
background database cleanup tasks (e.g., SharedDictionary SQLite store).
On Windows, these tasks may still hold file locks when a new profile is
created at the same path, causing FATAL crashes in sql::Statement when
two backends compete for the same database file.

Brave creates additional browser context keyed services that widen this
race window compared to upstream Chromium (where the test is 100% stable
with 0% flake rate across 204K+ runs).

Fix: Add FlushForTesting() after ShutdownStoragePartitions() in the
TestingProfile destructor to ensure all background thread pool tasks
complete before the profile directory is released.

Resolves brave/brave-browser#52777
2026-02-12 12:15:35 -05:00
Nuo Xu a4f2c8090e [iOS][Wallet] Update zcash feature flag option description (#33900)
update zcash feature flag option description
2026-02-12 16:56:11 +00:00
Netzenbot d6fb877f0a Fix BraveImporterBrowserTest.ReImportExtensions DCHECK failure (#33876)
The LeveldbValueStore created by TestValueStoreFactory registers itself
as a memory dump provider. When a memory dump is triggered during the
NonBlockingDelay polling loop, it attempts to create a dump with name
"extensions/value_store/Extensions.Database.Open.Test/<ptr>" which is
not in the kAllocatorDumpNameAllowlist, causing a DCHECK failure.

Scope the store so it is destroyed (and unregistered) before the
polling loop runs.

Resolves brave/brave-browser#52739
2026-02-12 11:49:30 -05:00
brave-builds 6200f3b9e0 1.89.28 2026-02-12 16:02:56 +00:00
Max Karolinskiy 8d442cf834 Adds a PRESUBMIT check for test filters. (#33870)
Verifies that entries in the filter files start with a '-'.
If an etnry doesn't start with a '-' (and for example starts with a '='
as a mistyped '-'), then only that test is run.
2026-02-12 10:08:39 -05:00