Commit Graph

2335 Commits

Author SHA1 Message Date
amaitland 11338dda42 Add more xunit tests 2025-10-11 11:39:34 +10:00
Alex Maitland d613e2c232 Apply suggestions from code review
Co-authored-by: campersau <buchholz.bastian@googlemail.com>
2025-10-11 11:39:34 +10:00
Alex Maitland 34a5fb50a9 JSB - Add optional command line cache config 2025-10-11 11:39:34 +10:00
Alex Maitland f964bbc08e Legacy and PerBrowser implementations 2025-10-11 11:39:34 +10:00
Alex Maitland 1533ba2db6 JavaScript Binding - Cache objects on a per browser basis
Issue #2306
2025-10-11 11:39:34 +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
campersau 249a491c92 Update some leftover net core 3.1 references (#5143) 2025-07-27 10:40:58 +10:00
amaitland 633a8cdd3c Upgrade to 138.0.33+g276ed6d+chromium-138.0.7204.169 / Chromium 138.0.7204.169 2025-07-27 09:12:25 +10:00
amaitland 8fb3bf7654 Upgrade to 138.0.17+gac9b751+chromium-138.0.7204.97 / Chromium 138.0.7204.97 2025-07-05 19:42:44 +10:00
Alex Maitland c38d5010a9 NetCore - Upgrade minimum version to 6.0 (#5127)
* NetCore - Upgrade minimum version to 5.0

* Update platform target
* Change to windows 10 specific TFM for top level packages
* Upgrade to .Net 6
* Nuget - Update packages
* Net Core - Fix dotnet test path
* Add Test Sdk and update Runner

---------

Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
2025-07-05 13:59:17 +10:00
amaitland be795682b5 Upgrade to 138.0.15+gd0f1f64+chromium-138.0.7204.50
- First build to use VS2022 by default
2025-07-01 20:56:20 +10:00
Matheos Mattsson c565f507f1 Handle case where IPostDataElement.Bytes is null (#5120) 2025-06-18 06:54:31 +10:00
amaitland be96008c21 Upgrade to 137.0.10+g7e14fe1+chromium-137.0.7151.69 / Chromium 137.0.7151.69 2025-06-05 20:54:20 +10:00
puran c94477427e Update IJavascriptObjectRepository.cs documentation to clarify async binding behavior for .NET Framework and .NET Core (#5102)
* Update IJavascriptObjectRepository.cs documentation to clarify async binding behavior for .NET Framework and .NET Core

* remove the obsolete async binding lines for Register method

---------

Co-authored-by: Xuewen Zhang <Xuewen_Zhang@esri.com>
2025-05-13 19:40:10 +10:00
campersau 7079869d59 Core - Update CefErrorCodes (136.0.7103.93) (#5101)
https://raw.githubusercontent.com/chromium/chromium/136.0.7103.93/net/base/net_error_list.h
2025-05-13 18:44:44 +10:00
amaitland 8fe8810937 Upgrade to 136.1.4+g89c0a8c+chromium-136.0.7103.93 / Chromium 136.0.7103.93 2025-05-11 07:39:44 +10:00
amaitland cfdddd8cba Upgrade to 135.0.17+gcbc1c5b+chromium-135.0.7049.52 / Chromium 135.0.7049.52 2025-04-05 06:19:35 +10:00
amaitland 0c24c64c69 Upgrade to 134.3.9+g5dc6f2f+chromium-134.0.6998.178 / Chromium 134.0.6998.178 2025-04-04 07:16:26 +10:00
amaitland f54c70fc22 Upgrade to 134.3.6+g96006d1+chromium-134.0.6998.118 / Chromium 134.0.6998.118 2025-03-23 09:34:57 +10:00
amaitland 0399b0c264 Upgrade to 134.3.1+g4de18f0+chromium-134.0.6998.89 / Chromium 134.0.6998.89 2025-03-15 06:39:37 +10:00
amaitland b8b04b5c01 Core - Remove snapshot_blob.bin
Resolves #5036
2025-02-24 06:58:15 +10:00
amaitland 1be0eec7e7 Upgrade to 133.4.2+g0852ba6+chromium-133.0.6943.127 / Chromium 133.0.6943.127
Upstream build number issues where build number was reset on spotify builder
https://github.com/chromiumembedded/cef/issues/3836#issuecomment-2675167002
2025-02-23 08:12:41 +10:00
Jan Bohunovský f684da355f FolderSchemeHandlerFactory - Remove UrlDecode from rootFolder (#5052) 2025-02-21 19:41:38 +10:00
amaitland a7a34c2e7e Upgrade to 133.4.5+g0363068+chromium-133.0.6943.99 / Chromium 133.0.6943.99 2025-02-16 07:04:06 +10:00
Alex Maitland 3a749c0bf2 Javascript Binding - Add Url to JavascriptBindingEventArgs (#5021)
Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
2025-02-01 06:47:42 +10:00
amaitland 895d80dcc0 Upgrade to 132.3.1+g144febe+chromium-132.0.6834.83 / Chromium 132.0.6834.83 2025-01-24 20:48:32 +10:00
Alex Maitland f43cd64c55 Import CefSharp.Wpf.HwndHost into main repository. (#4981)
* HwndHost - Initial import

* HwndHost - Add Example to solution and use common IWpfChromiumWebBrowser interface

* HwndHost - Update UpdateNugetPackages.ps1

* HwndHost - Add Nuspec

* HwndHost Example - Upgrade version

* HwndHost Example - Try non self contained build for debug and release

* Test - Add basic HwndHost tests

Probably need to revisit these, little bit hacky creating the window

* HwndHost - Allow any RequestContext that inherits from Core.RequestContext

Cheery pick of https://github.com/cefsharp/CefSharp.Wpf.HwndHost/pull/31

* HwndHost Example - Disable arm64

Example will be removed shortly, so it doesn't matter too much now.
It will be moved to MinimalExample and the Wpf Example expanded

* HwndHost - Delete delegate command

* Upgrade packages

* Nuget - Move Nuspec file to PackageReference folder

---------

Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
2025-01-18 06:40:48 +10:00
campersau 4757ee6f6c Avoid ObjectDisposedException when host got disposed (#5003) 2024-12-22 13:28:18 +10:00
amaitland 607c732527 Upgrade to 131.3.1+gcb062df+chromium-131.0.6778.109 / Chromium 131.0.6778.109 2024-12-07 15:57:29 +10:00
amaitland 633893ae99 Upgrade to 131.2.7+g9a14dc9+chromium-131.0.6778.86 2024-11-23 11:11:10 +10:00
amaitland b53ff70ef9 Core - IRequestContext add new GetWebsiteSetting/SetWebsiteSetting and GetContentSetting/SetContentSetting
Resolves #4991
2024-11-23 09:43:27 +10:00
amaitland 2ebad4d768 Upgrade to 131.2.3+g023a05b+chromium-131.0.6778.70 / Chromium 131.0.6778.70
- Add popupId to OnBeforePopup (API not mapped yet)
2024-11-18 06:12:35 +10:00
amaitland 0a105f6e6b Upgrade to 130.1.9+gfc42567+chromium-130.0.6723.70 / Chromium 130.0.6723.70 2024-10-26 10:16:12 +10:00
amaitland 606d9df7be Core - Add Cef.GetErrorCode
- Get the error code for when Cef.Initialize fails

Resolves #4914
2024-10-05 13:36:30 +10:00
amaitland ac42ae75a2 Core - PermissionRequestType is out of sync compared to cef_permission_request_types_t
- Update to match upstream changes

Resolves #4935
2024-10-04 19:33:36 +10:00
amaitland 2bf6c9312f Upgrade to 129.0.11+g57354b8+chromium-129.0.6668.90 / Chromium 129.0.6668.90 2024-10-04 19:11:28 +10:00
campersau 8aaa165ddc editorconfig - Enable CA2247 to error on build (#4943)
* Docs - Fix some invalid XML doc tags

* editorconfig - Enable CA2247
2024-09-29 12:43:45 +10:00
amaitland 17269dc648 Core - Add Microsoft.CodeAnalysis.NetAnalyzers 8.0 to all csproj files
- Make sure appveyor builds
- Will look at enabling some of the compiler warnings as errors to improve the sour
2024-09-28 12:14:32 +10:00
amaitland 19739abd9c Remove Alloy Bootstrap (M128)
- Remove ChromeRuntime option
- Remove Extension Handling and related methods (no longer supported)
- Remove PackLoadingDisabled (no longer supported)
- Remove PersistUserPreferences (always on)

Resolves #4795
2024-09-18 17:53:17 +10:00
amaitland 77f5e6d052 Upgrade to 128.4.9+g9840ad9+chromium-128.0.6613.120 / Chromium 128.0.6613.120 2024-09-17 19:43:52 +10:00
Alex Maitland a2454498e0 Upgrade to 127.3.5+g114ea2a+chromium-127.0.6533.120 / Chromium 127.0.6533.120 2024-08-21 06:31:44 +10:00
Alex Maitland 57f8cd344f Core - Change Cef.IsInitialized from bool to bool? (#4869)
Resolves #4867
2024-08-14 17:19:34 +10:00
Alex Maitland d3953b87ac Upgrade to 127.3.4+ge9e2e14+chromium-127.0.6533.100 / Chromium 127.0.6533.100 2024-08-11 12:55:22 +10:00
Alex Maitland 7b744395a8 Upgrade to 126.2.18+g3647d39+chromium-126.0.6478.183 / Chromium 126.0.6478.183
Resovles #4857
2024-07-20 06:37:32 +10:00