Commit Graph
71069 Commits
Author SHA1 Message Date
Aleksei Khoroshilov 52c7ff1dee Remove Page graph build dependency on args.gn (#30436)
* Expose page graph gn args via a separate file.

* Replace py patch with chromium_src patch.
2025-08-05 19:31:07 +07:00
brave-builds 1c50d48baf 1.83.14 2025-08-05 12:13:08 +00:00
Agustín Ruiz e683d1352e Leo input box - Update radius size to 16px to match designs (#30445)
* update radius size

* update style on other file
2025-08-05 08:32:48 -03:00
Aleksei Khoroshilov 708fc27836 Disable reproxy correctly in remote-disabled actions. (#30438)
Remove reproxy_config to disable reproxy entirely when remote is disabled.
2025-08-05 17:06:47 +07:00
Anton Paymyshev adc46433b1 Add headers to some .idl files (#30434) 2025-08-05 15:40:00 +09:00
Pavel Beloborodov 85301dbb69 Fixed webui event fired after js is disallowed. (#30392) 2025-08-05 08:34:09 +07:00
brave-builds 65c53200f4 1.83.13 2025-08-05 00:03:21 +00:00
cdesouza-chromium e2a2a9fda1 [msan] Fix UaFs in AssociatedContentDelegateTest (#30443)
These UaFs were happening because the observer cannot outlive the
delegate while the observation is still set. This change corrects that
for the case where `OnDestroyed` is being tested.

Resolves https://github.com/brave/brave-browser/issues/48147
2025-08-04 21:31:30 +01:00
Christian Mazakas c011457e93 Sr25519 support (#29995) 2025-08-04 12:45:03 -07:00
Gaetano Checinski 1012948780 skip tests if testsuite was not affected (#30183)
Adds:

--base [commitRef] flag to npm run test which allows to only build & run tests affected since [commitRef].
npm run list_affected_tests -- --base [commitRef] that prints a list of all tests that need to run
This PR adds a capability and won't have an impact until CI changes are made.

Implementation Overview
Skips tests using gn analyze which tracks not only source files but also specified test-data.

The implementation works as follows:

determine available test targets using gn ls <outDir> --type=executable --testonly=true
determine affected files using git --name-only <GIT_PREVIOUS_SUCCESSFUL_COMMIT>
determine test that need running: gn analyze <outdir> analyze.json
filter out testsuites that are not listed by gn analyze
unless a filter has been modified
CLI
You can run npm run list_affected_tests -- -C [build_dir]  --since_commit [COMMIT_REF] --suite [testSuite] --filters [gnfilter...] --files [extraFiles]

prints out what tests should run since COMMIT_REF for a given [build_dir] and test_suite(alias).

npm run list_affected_tests -- --base HEAD~ will print all tests affected by the change since the previous commit considering all test targets available.
Output might be: brave_browser_tests brave_unit_tests

npm run list_affected_tests -- --suite chromium_unit_tests will print all tests affected by the change since HEAD~ or origin/master.
Output might be: base_unittests components_unittests content_unittests net_unittests unit_tests

Instead of providing a suite you can also provide a gnfilter eg.

npm run list_affected_tests -- --filters '//brave/*'
which will only show affected tests that are within //brave. You'll need the quotes to ensure your shell doesn't expand the *

If you havn't changed files you can run hypotheticals using --files eg.:

npm run list_affected_tests -- --filters '//brave/*' --files='package.json test/BUILD.gn'

You can build&run the affected subset of tests by running npm run test <test_suite> --base [commitRef]

If you don't specify a commitRef then a commit will be determined in this order:

origin/master if you are on a branch
HEAD~ (previous commit) otherwise
2025-08-04 20:18:07 +01:00
cdesouza-chromium c9def361c9 [canary] gnrt support to B🚀 (#30439)
This PR adds support for `brockit lift` and `brockit regen` to support
`gnrt` reruns committing. With `lift`, a `gnrt` rerun occurs at the end
of the lift process, and if successful, all files changed under
`third_party/rust` are committed as rerun updates.

There are also changes to `regen` to support `gnrt` reruns, however a
new flag has been added to `regen`, namely, `--dry-run` to permit
running all regen operations without committing them. This is useful if
in the future we decide to hook up dry run checks for these process in
CI.

Resolves https://github.com/brave/brave-browser/issues/48140
2025-08-04 17:51:01 +01:00
brave-builds a9a2f86e86 1.83.12 2025-08-04 16:17:45 +00:00
cdesouza-chromium 62e2620472 [build] Support concurrent_links in .env (#30417)
This gn arg allows the control of how linking instances can happen
concurrently. This is necessary for the Windows PR build CI which is
running out of memory when linking targets.

Additionally, this change corrects the parsing of `.env` values to carry
over their type through, as `concurrent_links` is an integer. This has
affected a few other values that are set by CI as integers.

Resolves https://github.com/brave/brave-browser/issues/48090
2025-08-04 16:34:53 +01:00
Christian MazakasandDouglas Daniel 64124b0733 Wallet Clipboard Security (#30317)
Co-authored-by: Douglas Daniel <douglashdaniel@gmail.com>
2025-08-04 07:17:23 -07:00
Mihai PLESA 59661f743b allow nodejs v24 (#30405)
* allow nodejs v24
2025-08-04 15:06:13 +01:00
brave-builds 6e435c913b 1.83.11 2025-08-04 12:13:13 +00:00
brave-builds d7b751fe56 1.83.10 2025-08-04 12:03:02 +00:00
Jay Harris 7684b1361d [AI Chat]: Start fetching content when associating content (#30283) 2025-08-04 10:01:04 +09:00
Sangwoo Ko 4ea7300593 [Split View]Fix cookie sharing in split view context menu with proper SameSite handling (#30390)
Fix cookie sharing in split view context menu with proper SameSite handling

This commit addresses cookie sharing issues when opening links in split view
via context menu by implementing proper initiator handling to respect
SameSite cookie attributes.

Key changes:

Cookie Security Fix:
- Modified "Open link in split view" context menu to use OpenURLParams with
  proper initiator context instead of simple GURL
- Ensures SameSite=Strict cookies are not shared across different origins
  when opening links in split view from context menu with test coverage

Implementation Details:
- Extended OpenLinkInSplitView() function signature to accept full
  OpenURLParams instead of just GURL
- Previously, we opened a empty tab and then navigation was performed.
  This is suspected to be the cause of cookie sharing issues, as we don't
  give any hint about initiator.

Resolves https://github.com/brave/brave-browser/issues/47642
2025-08-04 09:30:49 +09:00
brave-builds fb8b79dc8b 1.83.9 2025-08-04 00:03:37 +00:00
Douglas Daniel 88b1dc2930 feat(wallet): Advanced Transaction Settings Popup (#30407) 2025-08-01 15:34:41 -05:00
Kyle Hickinson 681bc9c30f [iOS] Use correct dependencies for ios_brave_unit_tests target (#30399)
This updates the main iOS unit tests target to use the required test dependencies so we can remove the `//brave/ios/app` dependency and also fixes a provider dependency that was in the wrong spot.
2025-08-02 03:21:35 +09:00
Kyle Hickinson 9cb8d4f65b [iOS] Shift debounce Obj-C wrappers into debounce component (#30369)
This change moves the Obj-C wrappers for `DebounceService` into the debounce component in an `ios` layer.
2025-08-01 12:36:28 -04:00
Brian Johnson f6035f6ca4 hardcode "chrome-untrusted" to fix ios laying violation (#30420) 2025-08-01 09:33:20 -07:00
Brian R. Bondy 77af875f3d Tor settings should not be shown when Tor is disabled (#30344) 2025-08-01 12:29:41 -04:00
brave-builds 1a6f601a91 1.83.8 2025-08-01 16:08:59 +00:00
Max Karolinskiy 22e73262f3 Disables failing/flaky upstream tests. (#30408)
-SupervisedUserServiceTest.CantEnableFilteringUsingUserControls
-PermissionElementBrowserTest.CombinedPermissionAndDeviceStatusesGranted
2025-08-01 08:16:49 -07:00
cypt4 a1a191f5f6 [ZCash] Change orchard notes amount type to uint64 (#30332)
* [ZCash] Change orchard notes amount type to uint64
Resolves https://github.com/brave/brave-browser/issues/47994
2025-08-01 21:54:05 +07:00
Michael Herrmann 5616b875a2 Fix BraveVersionUpdaterMacTest (#30415) 2025-08-01 22:44:34 +09:00
brave-builds f1e8d4ae26 1.83.7 2025-08-01 12:14:55 +00:00
brave-builds 54ed666673 1.83.6 2025-08-01 12:06:39 +00:00
Gaetano Checinski 2ef644c2df Fix/missing ci tests (#30416)
* replace wrong concat use
2025-08-01 12:52:17 +01:00
Aleksei Khoroshilov e4cdfbe9a7 Enable SISO on Linux host with Brave-specific configuration (#30312)
Enable SISO by default for linux, mac, win targets built on host_os == "linux".
2025-08-01 18:28:16 +07:00
cdesouza-chromium c100289833 [CodeHealth] Remove uses of base::StringPrintf pt.4 (#30395)
This PR has additional replacements for base::StringPrintf with the
underlying abseil implementation absl::StrFormat.

This is mostly a mechanical change.

Resolves https://github.com/brave/brave-browser/issues/48076
2025-08-01 12:06:49 +01:00
Mikhail 5cb636d5a8 [perf] Fix mode=auto (#30406) 2025-08-01 16:45:20 +07:00
Brian Johnson 165e7052a7 Fix laying violation for ios/web -> brave/ios/browser (#30414) 2025-08-01 14:44:28 +09:00
Brian Johnson 67342b0f53 Fix default test list for brave_all_unit_tests (#30413)
upstream unit tests should only run on CI/Linux to match what we were doing before https://github.com/brave/brave-core/pull/30271
2025-08-01 12:47:14 +09:00
Brian R. Bondy b7e7980b59 Filter out shortcuts disabled by group policy (#30343) 2025-07-31 20:18:52 -04:00
brave-builds 0092bc0bc1 1.83.5 2025-08-01 00:03:08 +00:00
Kevin Smith 57170e9639 [NTP Next] Adjust topsites colors for light backgrounds (#30396) 2025-07-31 17:28:52 -04:00
cdesouza-chromium 46f7a58e8c Disable brave:all due to OoM on the Windows CI (#30409)
This change disables `brave:all` builds in our infra, as we are running
into out-of-memory issues at the final linking step. This has to be
sorted through the use of `concurrent_links`, however we need some time
to figure out the best way to deploy this gn arg and the best value for
it.
2025-07-31 22:17:51 +01:00
Szilard Szaloki d07fb818dc Brave Account section in Android settings. (#30354) 2025-07-31 15:31:35 -05:00
Szilard Szaloki b74d4fc452 Brave Account section in iOS settings. (#30347) 2025-07-31 15:31:20 -05:00
Kyle Hickinson d3e7a8ba1e [iOS] Shift AIChat Obj-C wrappers into ai_chat component (#30393) 2025-07-31 15:57:26 -04:00
Jocelyn Liu fc3470dc5f [CodeHealth] ConversationEventType and ConversationEventRole should be enum class and use kConstant naming (#30401)
[CodeHealth] ConversationEventType and ConversationEventRole should be
enum class and using kConstant naming
2025-08-01 04:29:42 +09:00
brave-builds 427fff7784 1.83.4 2025-07-31 16:12:38 +00:00
Brandon-T 9fd9ae22be [iOS] - Fix Tab Group syncing crash when syncing tab groups from Desktop (#30313) 2025-07-31 10:09:51 -04:00
Ste c4c1103303 Adding Gemma 3 to Leo (#29632)
* adding gemma

* Updated model name for Gemma

* Update gemma 3 description

* Address comments, add logo
2025-07-31 13:59:06 +01:00
Mikhail e35cbdae11 Smoke perf tests (#30310)
The PR supports command `npm run perf_tests -- smoke Static`
to verify that perf tests code work as expected.
This will be used to verify some metrics in future.
2025-07-31 16:15:53 +04:00
brave-builds 310be28ded 1.83.3 2025-07-31 12:13:25 +00:00