Commit Graph

6277 Commits

Author SHA1 Message Date
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 2c141e0fc7 DevTools Client - Update to 110.0.5481.77 2023-02-07 05:59:19 +10:00
Alex Maitland 929039e9e3 README.md - Update M110 release imminent 2023-02-07 05:51:31 +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 0916c757dd WPF - Tooltip minor cleanup
- Ignore tooltip change if both new/old values are null/empty
- Change order so timer is stopped before hiding tooltip
2023-02-03 13:08:28 +10:00
Alex Maitland 7021a7da52 WPF - Allow overriding of TooltipTextProperty change
- Override the OnTooltipTextChanged method to customise display of browser tooltip

Related to issue #4048
2023-02-03 13:08:28 +10:00
Alex Maitland b5334f8d31 Net Core - Update RefAssembly
- PopupFeatures was updated

Issue #4383
2023-02-02 11:49:33 +10:00
Alex Maitland ee0c75368c Core - Update IPopupFeatures
Upstream change see https://github.com/chromiumembedded/cef/commit/d04b5d4f8747ec68370740729922a9cd6868b8f5#diff-447d40892c51b4ffc870cf1a28bab2ae2d411752216be4750a17193e6675b26bL2182

Resolves #4383
2023-02-02 11:27:51 +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 ca905157f7 Test - Simplify callback promise tests
Issue #4276
2023-01-30 11:35:43 +10:00
Alex Maitland b8dbb0c0c5 WinForms - Throw InvalidOperationException if Load() called on invalid IBrowser
- When IBrowser.IsValid == false throw an InvalidOperationException when an attempt to
  call Load() is made.

Resolves #4368
2023-01-24 10:55:03 +10:00
Alex Maitland 17173587fe Core - Improve IBrowser.MainFrame and IBrowser.FocusedFrame null handling
- When CEF added CefFrameManager support the lifespan of a frame changed, it's now possible for MainFrame/FocusedFrame
  to be null when the browser is closed.

Issue #4368
2023-01-24 10:55:02 +10:00
Alex Maitland a51cdd3723 Core - OnSelectClientCertificate copy certificate vector
- Attempt to fix AccessViolationException by making a copy of
  the vector

Issue #2948
2023-01-17 10:22:59 +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 0d790cdf8f Revert "OffScreen - Lazy Initialize RenderHandler"
This reverts commit 664406869a.
2023-01-15 11:05:27 +10:00
Alex Maitland 664406869a OffScreen - Lazy Initialize RenderHandler
- Instead of assigning RenderHandler directly in the constructor, only assign when
  the new instance in ScreenshotOrNull. Avoid allocating the buffer for those
  using the new CaptureScreenshotAsync method.
2023-01-15 10:23:10 +10:00
Alex Maitland 2585e7de30 Core - Update CefErrorCode (109.0.5414.87) 2023-01-14 09:58:15 +10:00
Alex Maitland aa3d060639 DevTools Client - Update to 109.0.5414.87 2023-01-14 09:54:04 +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 f68616c54e Nuget - Update Readme.txt 2023-01-13 05:53:05 +10:00
Alex Maitland ec282d4c4f WinForms - Set Initial Focus on UI Thread
- Call CefBrowserHost.SetFocus(true) on the WinForms UI Thread to
  workaround upstream issue, see code comment for more detail.
- Add OnSetInitialFocus to allow for providing custom behaviour
- MultiThreadedMessageLoop = false gets focus correctly from parent, no need
  to call SetFocus(true)

https://bitbucket.org/chromiumembedded/cef/issues/3436/chromium-based-browser-loses-focus-when
2023-01-11 06:51:09 +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 c2edd111eb Core - Remove IRequestHandler.OnQuotaRequest
persistent quota is no longer supported (see https://crbug.com/1208141)

Resolves #4357
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 a382725dca WinForms Example - Fix SimpleBrowserForm constructor 2023-01-08 11:53:53 +10:00
Alex Maitland a7af5294ef Cleanup - Remove old unused projects 2023-01-08 11:53:52 +10:00
Alex Maitland 1b77997471 Update README.md
- Fix financial support link
- Rewrite financial support section
2023-01-02 10:16:52 +10:00
mistoll 64fbf2578b Fix Visual Studio 2022 support (#4346)
Co-authored-by: Michael Stoll <michael.stoll@stolltec.com>
2022-12-21 05:27:02 +10:00
mistoll a69e6ee2a4 Add Visual Studio Build Tools support (#4339)
Co-authored-by: Michael Stoll <michael.stoll@stolltec.com>
2022-12-19 12:33:35 +10:00
Alex Maitland 233586b50d README.md - Update as M108 release is imminent 2022-12-16 12:22:29 +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 20efc0fee3 Core - Xml Doc fixes for Find/FindHandler
- Update xml doc
2022-12-16 06:17:13 +10:00
Alex Maitland 0131dd8a33 WPF - Resize Hack Refactor
- Rename properties/variables
- Directly reference upstream issue

Follow up to https://github.com/cefsharp/CefSharp/pull/4307
2022-12-13 12:13:56 +10:00
Wupval 8e322164ea WPF - Add simplified resize hack (disabled by default) (#4307)
- Adds a simplified version of the resize hack used to workaround issue #2779 

Related discussion https://github.com/cefsharp/CefSharp/discussions/4274

Upstream Issue https://bitbucket.org/chromiumembedded/cef/issues/3427/osr-rendering-bug-when-minimizing-and
2022-12-13 12:02:26 +10:00
Alex Maitland 977020a7ab Net Core - Update Nuget Readme.txt
- Add quick start reference
- Replace changelog with releases link
2022-12-07 12:30:26 +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 7a7cce494c DevTools Client - Update to 108.0.5359.71 2022-12-06 11:00:53 +10:00
Alex Maitland de438ab846 Bug Report - Update cefclient links 2022-12-06 10:41:24 +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 852b0f2d7f Core - RequestContext add ArgumentNull checks 2022-12-06 10:03:47 +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