Commit Graph

521 Commits

Author SHA1 Message Date
amaitland e064ceec20 Remove comments for consistency 2025-10-11 11:39:34 +10:00
amaitland 11338dda42 Add more xunit tests 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
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 185d496e28 Test - Use SwANGLE
- Use --use-gl=angle --use-angle=swiftshader command line arg

Tests are still failing sometimes due to GPU crash. We cannot add an app.manifest to the test runner, so hopefully this helps.

https://ci.appveyor.com/project/cefsharp/cefsharp/builds/52468153#L1912
2025-07-28 18:31:43 +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
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
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 4bdf4f8b17 Tests - Disable GPU Compositing 2025-03-23 09:35:58 +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 36dc1b7ece Core - Add Cef.ApiHash
Issue #5066
2025-03-16 13:11:10 +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 236e494792 Tests - Disable GPU Acceleration
There have been transient crashes of the tests when run via Appveyor

https://ci.appveyor.com/project/cefsharp/cefsharp/builds/51568290#L3321
2025-02-24 07:21:08 +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
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 aed9ffd934 Test - Use invariant culture for double ToString (#5022) 2025-01-02 14:11:30 +10:00
amaitland 2bf01fab6d Net Framework - Change RuntimeIdentifiers (follow up)
- Change tests to use win identifier

Follow up to commit https://github.com/cefsharp/CefSharp/commit/1b5dd7807d2e34b32080891c3aec60fe6375f036
2025-01-02 07:16:43 +10:00
amaitland 1b5dd7807d Net Framework - Change RuntimeIdentifiers
- Change to more generic win-x64 and win-x86
- Win7 is no longer supported.

https://github.com/cefsharp/CefSharp/discussions/5020
2025-01-02 07:04:08 +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 85cbb485d6 Tests - Add failing test for issue 4621
Issue #4621
2024-12-07 15:57:09 +10:00
amaitland 3dca565806 Tests - Improve RequestContextTests 2024-11-23 12:46:39 +10:00
amaitland 0d1b91a541 Test - Add some basic tests for RequestContext.SetContentSetting/GetContentSetting
Issue #4991
2024-11-23 11:36:00 +10:00
amaitland 633893ae99 Upgrade to 131.2.7+g9a14dc9+chromium-131.0.6778.86 2024-11-23 11:11:10 +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 c3339bd418 Test - Add JS Callback test that uses ExpandoObject (SerializeV8SimpleObject now supports Expando)
Follow up to #4959
2024-10-26 10:24:40 +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 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
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
campersau 6acdcc3031 Test - Use TaskCreationOptions instead of TaskContinuationOptions for TaskCompletionSource (#4942) 2024-09-28 07:41:06 +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
Alex Maitland 43e235c2bc Upgrade to 126.2.12+g162c3d6+chromium-126.0.6478.127 / Chromium 126.0.6478.127 2024-07-20 06:37:31 +10:00
Alex Maitland 377226ad18 Upgrade to 126.2.7+g300bb05+chromium-126.0.6478.115 2024-06-23 15:50:36 +10:00
Alex Maitland bdbef7995d Upgrade to 126.2.6+gc7c4ac9+chromium-126.0.6478.115 / Chromium 126.0.6478.115 2024-06-22 08:11:35 +10:00
Alex Maitland 4f8bdc5f2c OffScreen - ChromeRuntime doesn't work with LoadURL
- After switching to the Chrome bootstrap, the browser wouldn't load if you passed in an empty
  string to the constructor, we can defer loading until after another LoadUrl call is made.

Resolves #4832
2024-06-21 19:55:53 +10:00
Alex Maitland 43321f74e6 WinForms/WPF/OffScreen - Change to using Chrome bootstrap by default
Issue #4835
2024-06-16 08:37:16 +10:00
Alex Maitland ed6a98389f Upgrade to 126.1.14+g2be337f+chromium-126.0.6478.57 / Chromium 126.0.6478.57
- IDialogHandler.OnFileDialog add new extensions and descriptions arguments (Breaking Change)

Resolves #4838
2024-06-16 08:32:50 +10:00