2373 Commits

Author SHA1 Message Date
Alex Maitland 1c33e76ff1 Upgrade to 156.0.32 (#5307)
* Upgrade to 156.0.32
* Add standalone Agent NuGet upgrade script

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-11-28 10:46:03 +10:00
amaitland 9f2168691b Upgrade to 156.0.15+gcf671c0+chromium-156.0.8078.80 / Chromium 156.0.8078.80 2026-11-03 19:06:00 +10:00
amaitland fbf553eeb2 Upgrade to 154.0.34+g14c5a08+chromium-154.0.8037.98 / Chromium 154.0.8037.98 2026-10-11 19:08:31 +10:00
amaitland 42c3c1e1b3 Upgrade to 154.0.33+ga03e714+chromium-154.0.8037.94 / Chromium 154.0.8037.94
- CefRegisterExtension has been removed upstream
2026-10-05 08:35:17 +10:00
amaitland dc8bfecb61 Core - Remove libEGL.dll and libGLESv2.dll references
libEGL.dll and libGLESv2.dll are stubs in M151+ (no actual exports, never actually loaded by Chromium).

They'll be removed from newer CEF binary distributions and existing (stub) builds can be excluded from CEF-based app distributions.

https://github.com/chromiumembedded/cef/issues/3974#issuecomment-5781307091
2026-09-26 07:39:11 +10:00
amaitland d877833605 Upgrade to 152.0.6+g708dc14+chromium-152.0.7977.83 / Chromium 152.0.7977.83 2026-09-12 13:07:17 +10:00
coderabbitai[bot] 1af9a8e0fa Document arm64 resource folders in CefRuntime APIs 2026-09-12 12:46:09 +10:00
James Charters 019cd64723 Core - Update to support ARM64 for .Net 4.8.1 2026-09-12 12:46:09 +10:00
amaitland 9e310d1cdd Upgrade to 151.3.24+g2384915+chromium-151.0.7922.174 / Chromium 151.0.7922.174 2026-09-12 12:01:25 +10:00
amaitland 73e8243ee4 Upgrade to 151.3.17+gf059e67+chromium-151.0.7922.138 / Chromium 151.0.7922.138 2026-09-12 12:01:25 +10:00
campersau ef8ab9e0dc Core - Update CefErrorCode and PermissionRequestType for Chromium 151.0.7922.109 (#5289)
Sync with net/base/net_error_list.h from
https://raw.githubusercontent.com/chromium/chromium/151.0.7922.109/net/base/net_error_list.h

CefErrorCode:
- Add LocalNetworkPermissionMissing (-36)
- Add StrictEchRequired (-37)
- Add ControlMsgTooBig (-189)
- Obsolete ProxyRequired (-368)
- Add CacheCompressionFailure (-414)
- Add DnsDirectOnly (-821)

PermissionRequestType (from CEF's cef_types.h, branch matching
chromium/7922, cef_permission_request_types_t):
- Add Sensors (1 << 28)

This is a breaking change due to the removed ProxyRequired member.


Claude-Session: https://claude.ai/code/session_01Xuu9fkhBxEDWGaHKFgg2jS

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-12 11:59:42 +10:00
Schuyler Tan 732afb1f66 Core - Add AddPreferenceObserver support. (#5279)
* Core - Add `AddPreferenceObserver` support.
2026-08-29 10:44:25 +10:00
amaitland 218f420e96 Upgrade to 151.3.16+gbe1e15d+chromium-151.0.7922.109 / Chromium 151.0.7922.109 2026-08-11 19:27:30 +10:00
campersau 7af206edbb Update cef references from bitbucket to github (#5278)
* Update reference from https://bitbucket.org/chromiumembedded/cef to  https://github.com/chromiumembedded/cef

* Apply suggestion from @campersau
2026-08-08 07:32:32 +10:00
amaitland 0707a9cbf2 Upgrade to 151.3.14+g5d67476+chromium-151.0.7922.72 / Chromium 151.0.7922.72 2026-08-02 08:10:39 +10:00
amaitland 6887d1987c Upgrade to 150.0.11+gb887805+chromium-150.0.7871.115 / Chromium 150.0.7871.115 2026-07-12 18:01:18 +10:00
Schuyler Tan 9f3be65def Core - Expose IsInterrupted and InterruptReason to DownloadItem. (#5266)
* Core -  Expose `IsInterrupted` and `InterruptReason` to DownloadItem.
2026-06-25 19:41:41 +10:00
amaitland c00744cd5a Upgrade to 149.0.4+g2f1bfd8+chromium-149.0.7827.156 / Chromium 149.0.7827.156 2026-06-20 20:05:15 +10:00
amaitland 4661a77a2c Core - Remove ChromeCommandIds
- Will remove in the short term until we can get these generated as the ids reportedly
  are in a constant state of flux.
2026-06-13 07:11:09 +10:00
Schuyler Tan 95d20a8265 Core - Support Chrome command execution. (#5257)
* Core - Support Chrome command execution.

- Add `Cef.MapChromeCommandNameToId`.
- Add `IBrowserHost.CanExecuteChromeCommand`
- Add `IBrowserHost.ExecuteChromeCommand`
2026-06-13 07:09:27 +10:00
amaitland afb971469b Upgrade to 149.0.2+ged5b3fd+chromium-149.0.7827.53 / Chromium 149.0.7827.53 2026-06-07 08:38:56 +10:00
Jozef Izso e4991c2947 Add the RequestContext.ClearHttpCache(callback) method.
This exposes the `CefRequestContext::ClearHttpCache(callback)` from CEF 144 release.
See the `cef.sdk\cef\include\cef_request_context.h` file.
2026-06-03 17:34:47 +10:00
Jozef Izso 5d48d8d909 Add the DownloadItem.IsPaused property
This wraps the `CefDownloadItem::IsPaused()` from CEF 144 release.
See the `cef.sdk\cef\include\cef_download_item.h` file.
2026-06-03 17:34:47 +10:00
amaitland 1ec32b9ebf Upgrade to 148.0.9+g0d9d52a+chromium-148.0.7778.180 / Chromium 148.0.7778.180 2026-05-27 19:17:39 +10:00
amaitland 3475c7ef14 Core - FolderSchemeHandlerFactory improve path check to prevent break out
- Prevent accessing resources outside of the root path specified.
- Add Test to verify
2026-05-23 15:38:49 +10:00
Schuyler Tan b5fef3bb4b Core - Automatically merge enable-features/disable-features command-line arguments with existing values (#5245)
* Core - Automatically merge `enable-features/disable-features` command-line arguments with existing values
2026-05-18 20:34:14 +10:00
amaitland 0d97181f04 Upgrade to 147.0.10+gd58e84d+chromium-147.0.7727.118 / Chromium 147.0.7727.118 2026-04-28 21:16:21 +10:00
amaitland 1a9fb91e9d Upgrade to 146.0.10+g8219561+chromium-146.0.7680.179 / Chromium 146.0.7680.179 2026-04-11 08:50:01 +10:00
amaitland 0b7d85b999 Upgrade to 146.0.7+ga6b143f+chromium-146.0.7680.165 2026-03-26 21:09:12 +10:00
amaitland 017876e092 Upgrade to 146.0.6+g68649e2+chromium-146.0.7680.154 / Chromium 146.0.7680.154 2026-03-25 19:57:43 +10:00
luca-sonntag 00d57a555c Javascript Binding - Finalize JavascriptBindingApiAllowOrigins: Per-browser isolation and origin normalization (#5218)
* Javascript Binding - Add Ability to limit origins

* Move JS binding settings to CefBrowserWrapper and optimize origin validation

* Initialize origins to null

* Normalize allowed origins

* Optimize origin validation

* Add null check for origin compare

* Fix JavaScript Binding API settings for popups

Move the JS binding API configuration block out of the !browser->IsPopup() scope
in OnBrowserCreated. This ensures that IsJavascriptBindingApiAllowed() enforces
configured restrictions for popups as well.

* Fix possible null deref for JavascriptBindingApiAllowOrigins

In IsJavascriptBindingApiAllowed, added a null check for JavascriptBindingApiAllowOrigins
to prevent a potential null dereference if JavascriptBindingApiHasAllowOrigins is true
but the allowOrigins list itself was null.

* Simplify origin normalization and add null check

* Add more test cases

* Refactor IsJavascriptBindingApiAllowed signature

Refactored IsJavascriptBindingApiAllowed to accept a CefBrowserWrapper^ parameter directly, eliminating redundant lookups and improving clarity. Updated all call sites to pass the browser wrapper explicitly.

* Clarify summary for HasJavascriptBindingApiAllowOrigins

Clarify documentation for HasJavascriptBindingApiAllowOrigins method to specify zero or more origins

* Simplify origin comparison logic in CefAppUnmanagedWrapper

Refactored code to directly compare wide string origins using
_wcsicmp, removing unnecessary pointer casts and null checks.
This streamlines the logic and improves readability.

* Add tests for JavaScript binding API behavior across cross-origin navigation

---------

Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
Co-authored-by: Luca Sonntag <luca.sonntag@cgm.com>
2026-03-22 07:35:54 +10:00
amaitland 43d325bbf3 Upgrade to 145.0.26+g6ed7554+chromium-145.0.7632.110 / Chromium 145.0.7632.110 2026-02-22 07:52:32 +10:00
amaitland 1dd444bdf8 Upgrade to 145.0.24+gad514df+chromium-145.0.7632.76 / Chromium 145.0.7632.76 2026-02-17 20:55:10 +10:00
campersau ba3f998545 Core - Update CefErrorCode and PermissionRequestType (#5213)
* Core - Update CefErrorCode and PermissionRequestType

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Alex Maitland <amaitland@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-17 20:47:50 +10:00
amaitland 8863f1377e Upgrade to 144.0.12+g1a1008c+chromium-144.0.7559.110 2026-01-31 11:56:31 +10:00
amaitland 5eba0488b0 Upgrade to 144.0.11+ge135be2+chromium-144.0.7559.97 / Chromium 144.0.7559.97 2026-01-26 18:56:52 +10:00
amaitland b7e177cd3d Upgrade to 144.0.7+g03bd3db+chromium-144.0.7559.97 / Chromium 144.0.7559.97 2026-01-24 09:04:19 +10:00
campersau 7dac43cc4c Core - Update CefErrorCodes and PermissionRequestType (#5205) 2025-12-22 13:18:58 +10:00
amaitland f3127c1ae6 Upgrade to 143.0.9+ge88e818+chromium-143.0.7499.40 / Chromium 143.0.7499.40 2025-12-10 20:43:54 +10:00
amaitland d699b6d735 Upgrade to v142.0.15+g6dfdb28+chromium-142.0.7444.176 2025-11-23 12:31:40 +10:00
amaitland cc9ae06f63 Upgrade to 142.0.14+gceaf578+chromium-142.0.7444.163 / Chromium 142.0.7444.163 2025-11-21 18:07:50 +10:00
amaitland f08254da91 Upgrade to 142.0.10+g29548e2+chromium-142.0.7444.135 / Chromium 142.0.7444.135 2025-11-15 17:42:42 +10:00
amaitland ffcb6a58e5 Upgrade to 141.0.11+g7e73ac4+chromium-141.0.7390.123 / Chromium 141.0.7390.123 2025-10-25 06:43:16 +10:00
amaitland ddd714b0b0 Upgrade to 140.1.14+geb1c06e+chromium-140.0.7339.185 / Chromium 140.0.7339.185 2025-09-20 14:49:46 +10:00
amaitland b6fcbab952 Upgrade to 139.0.28+g55ab8a8+chromium-139.0.7258.139 / Chromium 139.0.7258.139 2025-08-23 14:36:09 +10:00
campersau 331ee6a305 Core - Cancel pending tasks when browser crashed or v8 context gets released (#5145)
* Core - Cancel pending tasks when browser crashed or v8 context gets released

* Use TrySetCanceled to cancel pending tasks

* Adjust test to use chrome://crash for simulating a crash

* Add tests for javascript callbacks

* Rename tests and add tests for calling Execute multiple times

* Move FramePendingTaskRepository to its own file

* Rename test to ShouldCancelAfterV8ContextChange

* Fix compile error on .NET Framework

* adjust ShouldTimeoutIfNavigationOccurs test which now throws a TaskCanceledException on navigation
2025-08-22 12:14:38 +10:00
Schuyler Tan (SLT World) c966a907ee Add ChromeStatusBubble and ChromeZoomBubble (#5160) 2025-08-22 12:13:27 +10:00
amaitland b80d9e4827 Core - Update ResultCode enum to add process de-elevation exit code
Resolves #5152
2025-08-17 10:58:57 +10:00
amaitland ccb3dc8cd1 Upgrade to 139.0.23+g34a5b51+chromium-139.0.7258.128 / Chromium 139.0.7258.128 2025-08-16 08:36:11 +10:00
amaitland 0e76ce74a7 .Net 6 upgrade some minor doc tweaks
#5131
2025-07-27 10:48:41 +10:00