709 Commits
Author SHA1 Message Date
cef-spotify c1a097eaa7 Update to Chromium version 150.0.7871.256 (#4303)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.255..refs/tags/150.0.7871.256
2026-10-08 11:09:28 -04:00
cef-spotify a61e9a5c7b Update to Chromium version 150.0.7871.255 (#4278)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.253..refs/tags/150.0.7871.255
2026-09-22 09:57:02 -04:00
cef-spotify a832838fd7 Update to Chromium version 150.0.7871.253 (#4270)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.252..refs/tags/150.0.7871.253
2026-09-10 10:04:31 -04:00
cef-spotify cf60f42d20 Update to Chromium version 150.0.7871.252 (#4254)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.213..refs/tags/150.0.7871.252
2026-08-26 12:02:29 -04:00
Marshall Greenblatt db11278513 Update to Chromium version 150.0.7871.213 (#4231)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.187..refs/tags/150.0.7871.213
2026-08-13 18:58:58 -04:00
cef-spotify c2420dc025 Update to Chromium version 150.0.7871.182 (#4220)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.129..refs/tags/150.0.7871.182
2026-07-22 11:49:11 -04:00
Marshall Greenblatt 7c1aa68455 Update to Chromium version 150.0.7871.129
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.115..refs/tags/150.0.7871.129
2026-07-19 15:12:22 -04:00
cef-spotify b88780525f Update to Chromium version 150.0.7871.115 (#4212)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.101..refs/tags/150.0.7871.115
2026-07-09 11:18:56 -04:00
cef-spotify 8042e43d20 Update to Chromium version 150.0.7871.101 (#4209)
Change list:
https://chromium.googlesource.com/chromium/src/+log/refs/tags/150.0.7871.46..refs/tags/150.0.7871.101
2026-07-08 09:56:28 -04:00
Marshall Greenblatt 6cd775163b Update to Chromium version 150.0.7871.46 2026-06-25 12:52:05 -04:00
Marshall Greenblatt 9816f12ce8 Update to Chromium version 150.0.7871.24 2026-06-22 13:26:06 -04:00
Marshall Greenblatt 3f36c80053 Update to Chromium version 150.0.7871.4 2026-06-15 18:47:27 -04:00
Marshall Greenblatt 0727f286a7 Update to Chromium version 150.0.7871.0 (#1639810) 2026-06-02 16:46:54 -04:00
Marshall Greenblatt 096e9e5d7e Lazy-seed InsecureRandomGenerator to fix network process crash
In CEF dcheck_always_on=true builds on Windows, the network process
crashes with reentrant malloc on first allocation. Outer trigger:
CheckedLockImpl::Acquire (DCHECK-only) allocates on PostTask -> enters
PartitionAlloc -> ThreadCache::Get; on this path the `static
thread_local MetricsSubSampler g_shared_subsampler` (added by
https://crrev.com/c/6202281) is constructed, and its ctor seeds
InsecureRandomGenerator via base::RandUint64() -> BoringSSL RAND_bytes
-> OPENSSL_malloc, tripping ScopedDisallowAllocations.

Defer seeding to the first RandUint64() call. (0, 0) is XorShift128+'s
unique fixed point, so it doubles as the unseeded sentinel without a
flag (no size change). ReseedForTesting(0) now CHECKs; no caller
passes 0. Tactical fix: any other dynamic-init thread_local in
libcef.dll whose ctor allocates could crash similarly in DCHECK
builds.
2026-05-22 12:12:14 -04:00
Marshall Greenblatt 3a81f13bf0 win: Source dxil.dll / dxcompiler.dll from Redist/D3D
Recent Windows 11 SDK installs (10.0.26100.7xxx+) no longer duplicate
dxil.dll into bin/<ver>/<arch>/; only the canonical Redist/D3D/<arch>/
copy is present. Switch Dawn's copy_dxil_dll and copy_dxc_binary GN
rules to use the Redist path, matching what ANGLE already does for
d3dcompiler_47.dll.
2026-05-22 12:12:14 -04:00
Marshall Greenblatt a04a021b54 Restore FileSelectionCanceled notification on cancelled dialog
Chromium 1624993 (https://crrev.com/c/7810279, "Fix FileSelectHelper
double-release Use-After-Free") migrated FileSelectHelper from manual
AddRef/Release to a WebContents-scoped ActiveHelpers manager, and in
the process removed the listener_->FileSelectionCanceled() notification
from RunFileChooserEnd(). FileSelectHelper::FileSelectionCanceled() now
just calls RunFileChooserEnd(), which unregisters from ActiveHelpers
without ever telling the wrapped content::FileSelectListener. The CEF
listener's callback never fires, and DialogTest.FileOpenCancelSkipFirstCallback
and DialogTest.FileOpenAsyncCancelSkipFirstCallback time out waiting for
OnFileDialogDismissed.

This was already reverted upstream as https://crrev.com/c/7836491 in
149.0.7827.11. Carry the revert in chrome_browser_dialogs_native.patch
for branches pinned before that point. Restores manual AddRef/Release,
the listener_->FileSelectionCanceled() call in RunFileChooserEnd(), the
CleanUp() helper, and the WebContentsDestroyed() cleanup path. The
file_select_helper_unittest.cc parts of the upstream revert are
intentionally skipped.
2026-05-22 12:12:14 -04:00
Marshall Greenblatt b11fc801a3 Fix Origin header for custom-standard-scheme navigation POSTs
Chromium 491783215 (https://crrev.com/c/7617635, cherry-picked to the
M148.40 branch) removed Blink's SetHTTPOriginToMatchReferrerPolicyIfNeeded
call on navigation requests, on the premise that the browser process
would add the Origin header in AddAdditionalRequestHeaders() in
content/browser/renderer_host/navigation_request.cc. That premise holds
for http(s) but not for embedder-registered schemes, because the
function early-returns on !SchemeIsHTTPOrHTTPS(). As a result, form
POSTs from custom standard schemes (SECURE/CORS_ENABLED) no longer had
an Origin header, and POSTs from non-standard schemes no longer had
Origin: null. CorsTest.RedirectPost* was failing in 30 configurations.

Drop the early-return so the Origin / User-Agent / referrer-policy
logic runs uniformly; each inner block is already guarded by its own
condition (enable_do_not_track, SetHeaderIfMissing, NeedsHTTPOrigin,
feature flags, prerender/preview state) and is a no-op for schemes
that don't need it.

Update the CorsTest.RedirectPost* expectations to stop treating
CUSTOM_STANDARD_SCHEME as an always-null-origin scheme; its actual
origin is now sent (matching http(s)), while truly non-standard
schemes still serialize to "null" via their opaque origin.

Forward-port of 68aa5a908 from the M148 stable branch.
2026-05-22 12:12:14 -04:00
Marshall Greenblatt 2b74a789fb Update to Chromium version 149.0.7827.0 (#1625079)
- Win: Update to Windows SDK 10.0.26100.7705
2026-05-22 12:12:14 -04:00
Marshall Greenblatt 11e7b998ab Fix tarball builds failing on CIPD deps with missing version_file
CipdDependency.__init__ unconditionally reads version_file from disk,
even for deps excluded by condition (e.g. checkout_android). When
building from a source tarball that prunes android_webview, this causes
a FileNotFoundError. Skip reading the version_file when should_process
is False since the dep won't be fetched anyway.
2026-05-11 12:19:55 -04:00
Marshall Greenblatt 6bdd5a4aa7 Fix crash during shutdown in TaskManagerImpl::OnReceivedMemoryDump 2026-04-17 14:52:44 -04:00
Marshall Greenblatt a114f3d515 Update to Chromium version 148.0.7778.0 (#1610480) 2026-04-16 15:48:58 -04:00
Marshall Greenblatt b6e302c3aa Add per-browser ax_viewport_collapse setting
Adds role-aware collapsing of off-screen nodes to CDP accessibility tree
serialization (Accessibility.getFullAXTree). When enabled, off-screen
landmarks and headings are serialized as summaries (role + name only)
and other off-screen nodes are pruned. Position:fixed/sticky descendants
of off-screen parents are still discovered and fully serialized.

Reduces snapshot size for AI agents using Playwright ariaSnapshot().
Platform screen readers are unaffected — they use a separate code path.
CDP nodesUpdated events are suppressed when active.

The setting is a per-browser CefBrowserSettings field threaded through
WebPreferences, with a runtime override via SetAxViewportCollapse().
Both APIs are guarded with CEF_API_ADDED(CEF_EXPERIMENTAL).
2026-03-27 19:05:51 -04:00
Marshall Greenblatt 58033f5d93 Update to Chromium version 147.0.7727.0 (#1596535) 2026-03-23 14:01:41 -04:00
[OBIGO] Bruce Lee / 이병준 d29a3ecf28 patch: assign unique value to DO_NOT_SEND_COOKIES (fixes #4128) 2026-03-19 11:30:50 -04:00
Nik Pavlov cb9bab3e3f Add CefComponentUpdater API (fixes #4087)
Exposes component update functionality in CEF, allowing clients to
trigger on-demand updates for registered components.
2026-02-17 13:05:03 -05:00
Marshall Greenblatt 9a6ff9d5d8 Fix crash with BrowserWidgetCacheThemeService feature enabled
When BrowserWidgetCacheThemeService is enabled via field trials,
GetThemeService() returns cached theme_service_ which may be null
if SetBrowserView() was called before browser_view->browser() was
valid. Add null check to fall back to direct lookup.
2026-02-17 12:35:11 -05:00
Marshall Greenblatt 571ac2e493 Build with default enable_glic=true (see #3982)
Chromium is missing ENABLE_GLIC guards in too many places.
2026-02-17 12:08:47 -05:00
Marshall Greenblatt 58fa5d380a Update to Chromium version 146.0.7680.0 (#1582197) 2026-02-16 12:58:10 -05:00
Marshall Greenblatt b00d59c2b4 docs: Rewrite blob md links to GitHub Pages (isse #4085) 2026-01-29 18:13:59 -05:00
Marshall Greenblatt 2415738c75 docs: Rewrite Bitbucket Wiki links to docs/ (see #4085) 2026-01-29 16:44:54 -05:00
Marshall Greenblatt 0b57129f7f Fix DevTools crash when inspecting via chrome://inspect (fixes #4029)
When using chrome://inspect to inspect a remote debugging target,
both opener and inspected_web_contents may be null because the
DevTools window is not inspecting the WebContents that launched it.
Add null check before calling GetBrowserForContents to prevent
DCHECK failure.

Also update the patch for devtools_window.cc to check for null
inspected_web_contents before calling FindBrowserWithTab.
2026-01-27 16:18:23 -05:00
Marshall Greenblatt e1acc8973e osr: win: Fix context submenu positioning (fixes #3640)
Exclude menu windows from the child window bounds modification that
sets origin to (0,0). This was causing submenus to appear in the
top-left corner of the screen on subsequent showings.

The Init function already excluded TYPE_MENU from this treatment, but
SetBoundsInDIP did not. Added is_menu_ member to track the widget type
and apply consistent exclusion in both locations.
2026-01-27 13:12:19 -05:00
Marshall Greenblatt a898df841c osr: linux: Fix context menu display and positioning (fixes #2640)
Context menus were being clipped to the parent window bounds and
positioned incorrectly.

The fix has two parts:

1. X11 window creation (via patch): Menu windows are now parented to the
   root window instead of the parent_widget to prevent clipping. Other
   window types maintain their normal parent relationship.

2. Coordinate conversion: GetScreenPoint returns coordinates relative to
   the parent window, so convert to screen coordinates by adding the
   parent window's screen origin. The translation accounts for display
   scale factor since X11 TranslateCoordinates returns pixel coordinates
   while the menu system expects DIP coordinates.
2026-01-27 13:02:23 -05:00
Marshall Greenblatt d7ea7aa349 Disable GCM to avoid DEPRECATED_ENDPOINT errors (fixes #4078) 2026-01-26 14:26:13 -05:00
Marshall Greenblatt 5b381cea44 Fix missing build dependency (fixes #4077) 2026-01-23 14:23:49 -05:00
Marshall Greenblatt a4f9c48f00 win: Fix crash opening multiple file dialogs (fixes #4063)
This change disables the AutoCloseFileDialogs feature by default.
2026-01-23 13:56:54 -05:00
Marshall Greenblatt 394067730b alloy: Fix autofill crash during credit card payment (fixes #4075) 2026-01-23 13:15:02 -05:00
Nik Pavlov e8854979b0 win: Disable TPM metrics collection to avoid crash
TPM metrics collection via MaybeMeasureTpmOperations() can crash on
some Windows machines due to a null pointer dereference in the Windows
TPM Platform Crypto Provider (PCPKsp.dll) when calling
NCryptIsAlgSupported().
2026-01-23 15:37:23 +00:00
Marshall Greenblatt 300426d4f9 Fix dangling pointer crashes
During browser window closing, the ToolbarView is destroyed before
BrowserView, causing views in the toolbar to be freed while
WebUIBubbleManagerImpl and TabSearchBubbleHost still hold raw_ptr
references to them. When BrowserView is later destroyed, these
classes trigger dangling pointer errors.

Replace raw_ptr with views::ViewTracker in both classes:
- WebUIBubbleManagerImpl::anchor_view_ -> anchor_view_tracker_
- TabSearchBubbleHost::button_ -> button_tracker_

ViewTracker safely clears its internal pointer when the tracked
view is destroyed, preventing the dangling pointer situation.
2026-01-20 11:41:44 -05:00
Marshall Greenblatt da12acb8d5 Fix issues with always-enabled SideBySide feature (see #3980)
When BrowserViewLayoutImpl::Layout is called before the frame view
has been laid out, GetBrowserLayoutParams returns empty params.
The early return allowed View::Layout's for-loop to trigger child
layouts with 0x0 bounds, causing ContentsLayoutManager to receive
invalid size. Fall back to using the host's local bounds as
visual_client_area when frame params are empty, allowing layout to
proceed with valid bounds.

Call UpdateDialogTopInsetInBrowserView in GetDialogTop() to match
the behavior of BrowserViewLayoutImplOld::GetDialogTopY(), allowing
CEF to adjust dialog positioning.
2026-01-20 11:41:44 -05:00
Marshall Greenblatt bfb74aa1a4 Update to Chromium version 145.0.7632.0 (#1568190) 2026-01-20 11:41:44 -05:00
Nik Pavlov ce8465d1bf Add resizable option to Document Picture-in-Picture cefOptions
Add support for controlling window resizability via:
documentPictureInPicture.requestWindow({ cefOptions: { resizable: false } })


Approved-by: Marshall Greenblatt
2026-01-08 10:37:38 +00:00
Nik Pavlov deed57f604 Fix Picture-in-Picture window icon in Windows taskbar
Update Browser::GetCurrentPageIcon() to use the favicon from the opener
WebContents for document picture-in-picture windows, instead of the PiP
window's own WebContents. This ensures the correct icon is displayed in
the Windows taskbar preview and matches the existing behavior for
window titles, where PiP windows use the opener's title.
2025-12-31 14:51:03 +00:00
Nik Pavlov 310139f878 Add configurable initial window position for Document Picture-in-Picture
Usage:
  documentPictureInPicture.requestWindow({
    width: 400,
    height: 300,
    cefOptions: { position: { x: 100, y: 200 } }
  });

The feature is gated by Blink RuntimeEnabled flag and must be
explicitly enabled with:
  --enable-blink-features=DocumentPictureInPictureCefOptions


Approved-by: Marshall Greenblatt
2025-12-31 14:49:34 +00:00
Marshall Greenblatt 9d6bdcbb28 Fix dangling raw_ptr in net::ConnectionManagementConfig
See https://crbug.com/450464276. This fix is a cherry-pick of
https://crrev.com/16a8078b66.
2025-12-18 11:39:04 -05:00
Marshall Greenblatt d3dd6199b8 Update to Chromium version 144.0.7559.0 (#1552494) 2025-12-18 11:39:04 -05:00
Nik Pavlov b9d5a7f881 Add configuration to bypass user activation for Document PiP 2025-12-10 20:49:42 +00:00
Nik Pavlov 99e7f41a46 win: Fix nullptr crash in AXPlatformNodeWin::accLocation
Cherry picked from 49f5d095ac with
GetDelegate replaced with IsDestroyed.
2025-12-09 17:53:51 +00:00
Marshall Greenblatt e849735658 Fix possible BrowserWidget::OnTouchUiChanged crash (fixes #3941) 2025-12-04 13:58:13 -05:00
Marshall Greenblatt 6391b977d5 chrome: Add CefBrowserHost::SetAutoResizeEnabled and OnAutoResize 2025-12-02 17:10:19 -05:00