Commit Graph

425 Commits

Author SHA1 Message Date
Alex Maitland 5204cf4105 MSBuild - change from using $(SolutionDir) to $MSBuildThisFileDirectory
- Changes to make CefSharp easier to use as a git submodule
- BrowserSubProcess now builds for net6.0-windows for use with WinForms example
2023-03-08 17:26:44 +10:00
Alex Maitland 4f6fdf85c8 Upgrade to 111.0.11+geb023d1+chromium-111.0.5563.50 / Chromium 111.0.5563.50 2023-03-04 10:19:50 +10:00
Alex Maitland a39686b339 Core - Cleanup WebBrowserExtensions
- Add null check
- Rename params
- Reduce code duplication
2023-02-27 11:09:17 +10:00
Alex Maitland 916b7e01a6 Test - Add PostMessage IJavascriptCallback test 2023-02-25 05:36:56 +10:00
Alex Maitland f7cc1d4b63 Upgrade to 110.0.28+g16a2153+chromium-110.0.5481.104 / Chromium 110.0.5481.104 2023-02-22 05:53:01 +10:00
Alex Maitland 1f25de839c Test - JavascriptBindingTests.ShouldReturnRenderProcessId assert page loaded 2023-02-17 19:07:56 +10:00
Alex Maitland d960f98dd4 Test - CookieManagerTests.ShouldSetAndGetCookie adjust Date comparison
- Test was failing when run on Appveyor, use Assert.Equal with a 1second tolerance
2023-02-17 18:48:39 +10:00
Alex Maitland abefe829ae Test - Improvements
- Use LangVersion to 8.0
- Minor cleanup
2023-02-17 18:04:30 +10:00
Alex Maitland d0b06b3105 Test - CookieManagerTests rename method 2023-02-17 16:52:03 +10:00
Alex Maitland 75a564bdff Test - ConcurrentMethodRunnerQueueTest cleanup
Issue #3067
2023-02-17 16:48:28 +10:00
Alex Maitland cafd378859 Test - Code Cleanup
- Start splitting tests out into own files where relevant
- Improve call ordering
- Use Assert.RaisesAsync where possible
- Classes have been renamed (Tests is now the standard suffix)

TODO: Some of the classes still need their method names changed
2023-02-17 13:53:23 +10:00
Alex Maitland 7edc164206 Upgrade to 110.0.25+g75b1c96+chromium-110.0.5481.78 / Chromium 110.0.5481.78 2023-02-10 06:17:40 +10:00
Alex Maitland 91d9981ff2 Upgrade to 110.0.22+gb3f93d5+chromium-110.0.5481.77 / Chromium 110.0.5481.77 2023-02-06 12:08:02 +10:00
Alex Maitland 2cb65efeed Upgrade to 110.0.21+g6054757+chromium-110.0.5481.52 / Chromium 110.0.5481.52 2023-02-02 11:13:47 +10:00
Alex Maitland a51da76ad9 OffScreen - Add useLegacyRenderHandler optional param to constructor
- Defaults to true
- For those using CaptureScreenshotAsync set to false to avoid
  creating DefaultRenderHandler
2023-01-15 11:33:08 +10:00
Alex Maitland 2ee7e9d442 Upgrade to 109.1.11+g6d4fdb2+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-14 07:16:02 +10:00
Alex Maitland ceb347988d Upgrade to 109.1.8+g44ba3e7+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-13 20:35:52 +10:00
Alex Maitland 3cb6bbfc66 Test - Renable RequestContext tests
- Upstream issue has reportedly been resolved

https://bitbucket.org/chromiumembedded/cef/issues/3434/cef-108-creates-web-data-and-web-data
2023-01-08 11:53:54 +10:00
Alex Maitland 4e2612a3be Upgrade to 109.1.7+gb7b1fdc+chromium-109.0.5414.74 / Chromium 109.0.5414.74 2023-01-08 11:53:53 +10:00
Alex Maitland d5813846fc Upgrade to 108.4.13+ga98cd4c+chromium-108.0.5359.125 / Chromium 108.0.5359.125 2022-12-16 11:59:03 +10:00
Alex Maitland aca3385954 Test - Renable WinForms CanSetRequestContextViaRequestContextBuilder
- Share RequestContext settings with GlobalRequestContext
2022-12-07 08:58:40 +10:00
Alex Maitland e571510303 Test - Improve JavascriptCallbackFacts.CanEvaluatePromiseRejected
- Fix output message
- Add test case for passing in null

Issue https://github.com/cefsharp/CefSharp/issues/4276
2022-12-07 08:47:06 +10:00
Alex Maitland 4ff673e76a Enhancement - Improve Promise support (#4326)
* Enhancement - Improved promise support

Resolves #4276
2022-12-06 14:54:19 +10:00
Alex Maitland 74f9d86bb8 Test - Update CanSetRequestContextViaBuilder
- See if sharing settings with GlobalRequestContext allows appveyor tests to pass

Tests are running locally without problem in VS2022
2022-12-06 11:04:52 +10:00
Alex Maitland 570ce89926 Test - Re-enable some WinForms tests
- Re-enable all but the RequestContext tests and see if appveyor builds
2022-12-06 10:05:58 +10:00
Alex Maitland 138f397d7d Test - Re-enable some WPF tests
- Re-enable all but the RequestContext tests and see if appveyor builds
2022-12-06 09:22:42 +10:00
Alex Maitland 7ace5ef8ff Test - NetCore copy xunit json to output 2022-12-05 10:10:06 +10:00
Alex Maitland 2f36099e26 Test - Skip WinForms tests
- Attempt to isolate failing test
2022-12-05 10:07:36 +10:00
Alex Maitland 90328398f5 Test - Skip WPF tests
- Attempt to isolate failing test
2022-12-05 09:54:29 +10:00
Alex Maitland d4d1350a3d Test - Second attempt at migrating to xunit.runner.json 2022-12-05 09:41:38 +10:00
Alex Maitland f5c601d608 Test - Add more logging
- Reduce verbosity to normal
- Remove appveyor specific logging for now
- Add TestCaseOrderer to output message before test run
2022-12-05 09:10:55 +10:00
Alex Maitland 12e0e984d7 Test - Remove xunit.runner.json
Revert to using just app.config to config xunit
2022-12-04 18:19:37 +10:00
Alex Maitland daf79aacf4 Test - Readd app.config settings
Use both app.config and xunit.runner.json
Shouldn't be necessary, though still seeing problems
on appveyor
2022-12-04 15:12:56 +10:00
Alex Maitland e5c3e790fb Test - Switch to using xunit.runner.json
Use json config file to configure tests
2022-12-04 14:36:48 +10:00
Alex Maitland 7a8f6197b4 Test - Use Appveyor.TestLogger package 2022-12-04 14:29:04 +10:00
Alex Maitland f025e9d00d Upgrade to 108.4.12+g2e23ced+chromium-108.0.5359.71 / Chromium 108.0.5359.71 2022-12-03 14:24:05 +10:00
Alex Maitland 7f02409c37 Upgrade to 108.4.10+g8d6f4e3+chromium-108.0.5359.48 / Chromium 108.0.5359.48 2022-11-21 11:50:16 +10:00
Alex Maitland 3866af03ca Upgrade to 107.1.9+g1f0a21a+chromium-107.0.5304.110 / Chromium 107.0.5304.110 2022-11-14 14:16:09 +10:00
Alex Maitland 0243bfa1f4 Upgrade to 107.1.5+g58ed78e+chromium-107.0.5304.88 / Chromium 107.0.5304.88 2022-11-14 14:15:45 +10:00
Alex Maitland 91b79262fa Upgrade to 107.1.4+geb36a79+chromium-107.0.5304.68 / Chromium 107.0.5304.68 2022-10-30 13:07:15 +10:00
Alex Maitland baf487f958 Test - CefTimeUtilsFacts.FromBaseTimeToDateTimeShouldWork add precision
- Add precision to deal with minor loss in precision (expected)
- Fix actual/expected order
2022-10-17 14:03:38 +10:00
Alex Maitland 0f99d4f945 Core - Migrate from CefTime to CefBaseTime (Support dates less than Windows Epoch)
- DateTime won't work for anything less than Windows Epoch so we have to manually
  handle those dates.

Issues #4234
2022-10-16 13:29:19 +10:00
Alex Maitland 60df304c93 Upgrade to 106.0.29+gc10d419+chromium-106.0.5249.119 / Chromium 106.0.5249.119 2022-10-16 12:03:40 +10:00
Alex Maitland 9db6bec21b Core - Migrate from CefTime to CefBaseTime (Add custom conversion support)
- Add new IBaseTimeConverter interface to allow for custom conversion of DateTime to/from CefBaseTime
- Add some CefTimeUtils tests

Issues #4234 #4272
2022-10-16 11:51:04 +10:00
Alex Maitland bda48d4c6e Upgrade to 106.0.26+ge105400+chromium-106.0.5249.91 / Chromium 106.0.5249.91 2022-10-05 11:45:32 +10:00
Alex Maitland f84f3986cf Test - Tweaks to browser ref count logging 2022-10-04 14:17:36 +10:00
Alex Maitland 252f2cd99b Upgrade to 106.0.25+gf7fefe5+chromium-106.0.5249.61 / Chromium 106.0.5249.61 2022-10-04 10:54:08 +10:00
Alex Maitland a12023a449 Test - Add additional logging to hopefully find the test that's keeping a browser ref count alive 2022-09-21 10:45:17 +10:00
Alex Maitland da94de224e Upgrade to 106.0.20+g354064a+chromium-106.0.5249.12 / Chromium 106.0.5249.12 2022-09-21 10:02:14 +10:00
Alex Maitland a819fc4e4d Test - Add EvaluateScriptAsPromiseAsyncFacts
- Move tests from OffScreenBrowserBasicFacts
- Enable Cef.WaitForBrowsersToClose();
2022-09-19 16:35:45 +10:00