1793 Commits
Author SHA1 Message Date
Carmelo Messina c266f670b3 Partition blobs by top frame URL: Fix renderer crash in PublicURLManager and clean up Blob URL partitioning (#2922)
Fix a Null Pointer Dereference crash in `GetInsecureTopLevelSite()`
affecting sites with heavy Service Worker usage (e.g., Discord, Reddit).
This rewrite also hardens our custom `Partition-blobs-by-top-frame-URL`
logic against upstream cross-partition token leak vectors.

In `public_url_manager.cc`, the custom helper was passing the result of
`worker_global_scope->top_level_frame_security_origin()` straight into the
`BlinkSchemefulSite` constructor. However, this property is intentionally
null for Service Workers, causing a fatal null pointer dereference crash.

Additionally, since Cromite's partition checks execute downstream from
vanilla Chromium's native mitigations, the browser-side fallback using
`agent_cluster_id` inside `IsSamePartition()` was redundant dead code.

Changes:
1. Blink: Fully rewrote `GetInsecureTopLevelSite()` using safe `DynamicTo`
   casts. For Service Workers, it now safely pulls the browser-validated
   partition directly via `service_worker->storage_key().top_level_site()`,
   eliminating the null pointer crash surface.
2. Blink / Hardening: Intentionally excluded Shared Workers from Blob URL
   support (`IsSharedWorkerGlobalScope()`) by returning `std::nullopt` to prevent
   unpartitioned fallback vectors in shared contexts.
3. Storage: Streamlined `IsSamePartition()` in `blob_url_store_impl.cc`
   by removing the obsolete `agent_cluster_id` fallback, leaving a clean,
   deterministic verification of the top-level site partition.
2026-06-03 14:54:19 +02:00
Carmelo Messina cb3baf14f5 ungoogled-chromium: Disable translate integration: fix desktop build 2026-05-20 17:40:29 +02:00
Carmelo Messina 3dc5833d37 Patches for 148.0.7778.168 2026-05-19 15:40:33 +02:00
Carmelo Messina bd0ad9b858 Bump to 148.0.7778.168 2026-05-19 12:46:35 +02:00
Carmelo Messina 43b0b3325f Bump to 148.0.7778.167 2026-05-19 12:38:55 +02:00
uazoandgithub-actions[bot] b632e0d604 [AUTO] Patches auto-rebase 2026-05-19 09:12:10 +00:00
Carmelo Messina 925f3452ce gn args: cleans up the gn args for v148 2026-05-19 11:08:04 +02:00
Carmelo Messina 6b10069f92 Enable Android DevTools Frontend: Enable the Android DevTools frontend and remove Android-specific UI restrictions that prevented access to developer features on phones. 2026-05-19 11:06:34 +02:00
Carmelo Messina 932da2ddc3 Disable AppRating: Remove AppRating code paths and build targets. The feature depends on Google
Play Review APIs already disabled by default.
2026-05-19 11:04:31 +02:00
Carmelo Messina 08a05c03de Supporting Dangling Ptr Detection via BackupRefPtr: enabled by default 2026-05-19 10:50:47 +02:00
Carmelo Messina d0acb9af5a Patches for v148 (no changes, context changed) 2026-05-19 10:49:53 +02:00
Carmelo Messina 0bf212cf9b Patches for v148 2026-05-19 10:48:25 +02:00
Carmelo Messina 5aab1a3f2a Bump to 148.0.7778.120 2026-05-08 11:44:31 +02:00
Carmelo Messina 2afc7b19a4 Bump to 148.0.7778.97 2026-05-08 08:37:18 +02:00
Carmelo Messina 5e2e7d3817 Patches for 148.0.7778.97 (need work) 2026-05-08 08:36:11 +02:00
Carmelo Messina ca9926de51 Patches for 148.0.7778.97 2026-05-08 08:35:17 +02:00
Carmelo Messina 79b95d83fe Rebase to 147.0.7727.102 2026-04-20 17:52:46 +02:00
Carmelo Messina c787e9a932 Bump to 147.0.7727.102 2026-04-18 09:34:32 +02:00
Carmelo Messina 880346893d no changes to the code, just changes to the context 2026-04-15 17:40:51 +02:00
Carmelo Messina 0287d87391 Supporting Dangling Ptr Detection via BackupRefPtr: fix the memory release order in Android 2026-04-15 17:39:18 +02:00
Carmelo Messina f9ced0c819 Experimental support for extensions on Android: fix a crash caused by an dangling pointer (#256)
In Chromium, extension support on Android suffers from a number of issues caused by incorrect pointer handling during dtor, since the dtor behaviour for profiles and windows differs from that of the desktop version.
With these changes, all issues should be resolved (until the next major :) and cromite no longer crashes for these reasons.
2026-04-15 17:38:06 +02:00
Carmelo Messina 50bf1e7137 Enable native Android autofill: fix a crash caused by an dangling pointer 2026-04-15 17:30:10 +02:00
Carmelo Messina 8a021bb680 Enable extensions in incognito: removed unnecessary code added in a previous version (#2511 #256) 2026-04-15 17:28:15 +02:00
Carmelo Messina a8aed07597 Cromite Branding: Fix for taskbar grouping (#2796)
Modifies the handling of the system mutex to distinguish Cromite from other Chromium forks and the policy registry path. Disables the forced loading of chrome extensions specified in the registry key.
2026-04-15 17:25:19 +02:00
Carmelo Messina 6b30b1b2ba Add menu item to bookmark all tabs: workaround for the occasional crashes when closing desktop applications caused by a dangling raw_ptr. I don't notice the same problem on Android.
Currently, all fields in the Chromium bookmark model are marked as “untriaged”, unfortunately since 2022, but they're working on it (https://issues.chromium.org/issues/40212619)
2026-04-15 17:20:36 +02:00
Carmelo Messina a23dc6d722 Enables keyword-based site search on Android devices: to replace the default active patch with the new search engine management ui (#2811) 2026-04-15 17:12:39 +02:00
Carmelo Messina 69724a461a Enable search engine settings desktop ui: drop patch (#2811) 2026-04-15 17:10:40 +02:00
Carmelo Messina 271900671d Experimental support for extensions on Android: fix dangling raw_ptr android code 2026-04-09 17:17:45 +02:00
Carmelo Messina a5159d2fd6 Disable device bound session: fix windows build 2026-04-09 17:16:34 +02:00
Carmelo Messina a48bb52d21 Dictionary suggestions for the Omnibox: fix build 2026-04-09 17:16:09 +02:00
Carmelo Messina 15d48b0614 Patches for 147.0.7727.56 2026-04-08 14:31:34 +02:00
Carmelo Messina c77fa98a16 Bump to 147.0.7727.56 2026-04-08 10:50:53 +02:00
Carmelo Messina 6465669461 Patches for v147 (final) 2026-04-08 10:42:08 +02:00
Carmelo Messina 130b90c921 Bump to 147.0.7727.24 2026-03-27 15:11:13 +01:00
Carmelo Messina d1379887a6 Patches for v147 (to be checked) 2026-03-27 15:10:40 +01:00
Carmelo Messina bfd5fc63c2 Patches for v147 2026-03-27 15:09:49 +01:00
Carmelo Messina bc395b8bd9 Disable integration with Gemini: Due to the extensive integration of Gemini into the desktop versions, the flag will be removed. In the Android version, the integration is not yet as extensive, so the patch removes it during the build process. 2026-03-24 11:15:30 +01:00
Carmelo Messina 41270b79c6 Patches for v146 (#2511 #256) 2026-03-24 11:12:18 +01:00
Carmelo Messina 813bec3069 Patches for v146 2026-03-24 11:10:18 +01:00
uazoandgithub-actions[bot] 0cb2f33e3f [AUTO] Patches auto-rebase 2026-03-11 11:54:07 +00:00
Carmelo Messina d11d70028c Bump to 146.0.7680.111 2026-03-11 12:49:53 +01:00
Carmelo Messina b224fa6ab9 Bump to 146.0.7680.31 2026-03-11 12:44:34 +01:00
Carmelo Messina 3d1185d594 Patches for v146 (need some work) 2026-03-11 12:43:59 +01:00
Carmelo Messina ead22ceee7 Patches for v146 2026-03-11 12:43:32 +01:00
Carmelo Messina a1e722dbef Disable integration with Gemini: due to errors, some points are not covered by the gn arg check. This patch fixes build errors.
Note that the enable_glic argument is already disabled in cromite's gn args. It is explicitly stated in the patch for clarity.
This patch fixes desktop builds of 145.0.7632.120.
2026-02-27 13:33:20 +01:00
Carmelo Messina 080634431f Experimental support for extensions on Android: version 145.0.7632.120 2026-02-25 17:02:34 +01:00
Carmelo Messina 9b33511160 Patches for 145.0.7632.120 2026-02-25 12:35:55 +01:00
Carmelo Messina d24356fc41 Enable Socket Pool Limit Randomization: anticipates the activation of Socket Pool Limit Randomization scheduled for v147
The new feature is complete (see https://chromium-review.googlesource.com/c/chromium/src/+/7515640)
2026-02-24 17:57:30 +01:00
Carmelo Messina 50795297ae Experimental support for extensions on Android: fix dangling raw_ptr on popup controller (#256 #2511) 2026-02-24 17:54:40 +01:00
Carmelo Messina 65d7b3483c Partition blobs by top frame URL: allows the use of blobs within a third-party iframe workers (#2722) 2026-02-24 17:52:06 +01:00