Commit Graph

6154 Commits

Author SHA1 Message Date
Alex Maitland 2ead423380 Core - Improve JavascriptObjectRepository.TryCallMethod Object Not Found error message
- Add method name and param count

Resolves #4209
2022-08-21 13:44:34 +10:00
Alex Maitland 01310244ee Upgrade to 104.4.24+gdf482f6+chromium-104.0.5112.102 / Chromium 104.0.5112.102 2022-08-21 13:31:04 +10:00
Alex Maitland e064878d0a Core - CefValueWrapper add DebuggerDisplay 2022-08-19 11:07:05 +10:00
Alex Maitland ecd687fc0e README.md - Update as version 104 released 2022-08-09 13:34:09 +10:00
Alex Maitland 840790b479 Core - ResourceHandler.ForErrorMessage auto dispose of Stream
Dispose of stream when done, cannot reuse ResourceHandler.

Follow up to https://github.com/cefsharp/CefSharp/pull/4119
2022-08-09 11:23:59 +10:00
Alex Maitland 32f442e0e4 Test - FolderSchemeHandlerFactoryTests.CanDeleteFileAfterLoading
Integration test for #4119
2022-08-09 11:16:22 +10:00
Gavin Lambert b92e4e3eb7 Fix FolderSchemeHandlerFactory locking files (#4119) 2022-08-09 10:40:08 +10:00
Alex Maitland ffad5f6bfd Tests - Skip LoadJavaScriptBindingQunitTestsSuccessfulCompletion if run on Appveyor
#Issue 3867
2022-08-09 10:23:55 +10:00
Alex Maitland ce486fa343 DevTools Client - Update to 104.0.5112.81 2022-08-09 10:18:48 +10:00
Alex Maitland 6713caf739 Test - Increase Cef.WaitForBrowsersToClose timeout 2022-08-09 10:18:48 +10:00
Alex Maitland b94f08e4b1 Test - Skip LoadJavaScriptBindingQunitTestsSuccessfulCompletion
Issue #3867
2022-08-09 10:18:47 +10:00
Alex Maitland 7555ede0d6 Core - Update Enums (add new values) 2022-08-08 15:57:19 +10:00
Alex Maitland b4fc9d644e Core - IJsDialogHandler xml doc fix 2022-08-08 15:51:04 +10:00
Alex Maitland 733be3ea0e Core - Update CefErrorCode (104.0.5112.81) 2022-08-08 15:50:49 +10:00
Alex Maitland a5c9a66832 Example - Rename PermissionHandlerExample to ExamplePermissionHandler
- Matches other examples
- Minor changes
2022-08-08 15:41:45 +10:00
Alex Maitland 1ae9e01b41 Core - PermissionHandler followup
- Rename enums (remove cef prefix)
- Fix typos
- Slightly improve docs
2022-08-08 14:18:54 +10:00
Алексей f92687b7cc Core - Add support PermissonHandler
https://bitbucket.org/chromiumembedded/cef/issues/3352/add-cefpermissionhandler-callback-for-the
2022-08-08 13:59:32 +10:00
Alex Maitland 5cab3c23ea WinForms Example - Make DPI Aware
- WinForms Example is now DPI aware using https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8
  There's a mistake in the MS Docs which was already reported at https://github.com/dotnet/docs-desktop/issues/1485
- Toolstrip layout updated slightly, could use some more minor tweaks to better calculate size

Resolves #1543
2022-08-08 13:37:17 +10:00
Alex Maitland fa6e731804 README.md - Update as M103 was released
Was released a few weeks ago
2022-08-08 11:24:12 +10:00
Alex Maitland d413f481dd Upgrade to 104.4.18+g2587cf2+chromium-104.0.5112.81 / Chromium 104.0.5112.81 2022-08-08 11:18:43 +10:00
Alex Maitland 30f9d8db2c Core - CefRunContextMenuCallbackWrapper use cef_event_flags_t as typedef was removed
- Change to use cef_event_flags_t
- Fix some xml doc

https://github.com/chromiumembedded/cef/commit/d9b764860aa0c1dfad58b123474bc133c4e43d39
2022-08-02 13:33:52 +10:00
Alex Maitland 6467ece9b6 Upgrade to 104.4.15+g12fbff8+chromium-104.0.5112.65 / Chromium 104.0.5112.65 2022-08-02 13:14:32 +10:00
Alex Maitland 00f5db9159 DevTools Client - Upgrade to 103.0.5060.66 2022-07-03 11:23:42 +10:00
Alex Maitland 644b2b5e8c Test - Fix NetCore FolderSchemeHandlerFactoryTests.CanWork path 2022-07-03 11:03:20 +10:00
Alex Maitland 81d2168262 Upgrade to CEF 103.0.8+g444ebe7+chromium-103.0.5060.66 / Chromium 103.0.5060.66 2022-07-01 09:34:44 +10:00
Alex Maitland ad464d34b2 Core - CefThread better error handling for queued execution 2022-06-23 10:21:38 +10:00
Alex Maitland 88762cbe33 Core - Add CefThread.ExecuteOnUiThread(Action action)
- DevToolsClient now uses this overload
2022-06-22 11:01:46 +10:00
Alex Maitland f8530064b1 Core - Add Cef.PostAction and Cef.PostDelayedAction 2022-06-22 10:52:17 +10:00
Alex Maitland bde0bf31f3 README.md - Update as 102 released 2022-06-21 12:42:05 +10:00
Alex Maitland 2788ec0704 Upgrade to CEF 103.0.6+ge38efd5+chromium-103.0.5060.53 / Chromium 103.0.5060.53 2022-06-21 11:47:09 +10:00
Alex Maitland 550552f210 Test - Add FolderSchemeHandlerFactoryTests
- Basic test to dynamically register a FolderSchemeHandlerFactory
2022-06-21 11:24:26 +10:00
Alex Maitland fdec627537 Core - Xml doc fixes 2022-06-20 16:28:04 +10:00
Alex Maitland 2cd1c9b5ae Core - Add Cef.WaitForBrowsersToClose(int) overload
- Allow for specifying the timeout in ms
- Update the tests to 5000ms timeout
2022-06-20 13:03:15 +10:00
Alex Maitland 71613df39e Net Core - Nuget Add CefSharpExcludeSubProcessExe
- When true excludes CefSharp.BrowserSubprocess.exe and CefSharp.BrowserSubprocess.dll
- Defaults to true for .Net 5+ SelfContained PublishSingleFile builds
 (same as before)

Allows user to easily exclude the BrowserSubprocess when they want to create a self contained
build
2022-06-16 11:06:12 +10:00
Alex Maitland be89729d62 Test - Upgrade xunit VS runner
Must manually include Microsoft.NET.Test.Sdk

https://stackoverflow.com/a/63786758/4583726
2022-06-14 13:36:50 +10:00
Alex Maitland c3886a1983 DevTools Client - IDevToolsClient now implements IDisposable directly 2022-06-09 11:00:13 +10:00
Alex Maitland 9dd7e7a597 DevTools Client - Change Dispose from explicit implementation to public 2022-06-09 10:57:12 +10:00
Alex Maitland f0a72fbe6b Core - Add IWindowInfo.WindowName
Allows setting of the window_name property
2022-06-06 11:08:52 +10:00
Alex Maitland 10f90f267c OffScreen - Support Size and DeviceScaleFactor when RenderHandler is null 2022-06-06 10:57:04 +10:00
Alex Maitland 93dcfacef2 OffScreen - Explicitly dispose of RenderHandler 2022-06-06 10:53:29 +10:00
Alex Maitland 0673239fb7 Core - Cef.WaitForBrowsersToClose increase Wait Timeout
- After upgrading to M102 shutdown appears to be taking longer, so we'll increase
  the Wait timeout from 500ms to 750ms to allow CEF a little more time to finish processing.
2022-05-31 15:58:53 +10:00
Alex Maitland 15cb6d4754 Core - BrowserRefCount add some basic logging
Logs some basic information so we can see what type of ChromiumWebBrowser hasn't been closed
within as part of the xUnit tests.

* Meant for internal use and might be subject to change.
2022-05-31 15:43:34 +10:00
Alex Maitland 962d2055c1 Example - Replace FlashResourceHandler with WebRequestResourceHandler
- A simple example that uses the WebRequest .Net class to make requests
  Doesn't cover all cases, intended as a reference to get you started.
2022-05-31 14:31:13 +10:00
Alex Maitland 81178bb9ba Test - Increase BrowserRefCountDecrementedOnDispose reliability 2022-05-31 14:08:00 +10:00
Alex Maitland 8938d9ef0a DevTools Client - Upgrade to 102.0.5005.63 2022-05-31 11:08:40 +10:00
Alex Maitland cbbd57e435 Core - Fix some exception messages 2022-05-31 11:05:03 +10:00
Alex Maitland 787665bcfe Core - WebBrowserExtensions throw explicit ObjectDisposedException if IsDisposed
- Make it clear that the ChromiumWebBrowser instance has been disposed.
  Previously when the browser was disposed BrowserCore would be null.
  An explicit ObjectDisposedException is now thrown.
2022-05-31 10:56:13 +10:00
Alex Maitland cae407f9f1 WPF/OffScreen - Add WaitForRenderIdleAsync CancellationToken test 2022-05-30 19:22:25 +10:00
Alex Maitland 22de75f1be WaitForNavigationAsync - Change timeout handling 2022-05-30 19:14:06 +10:00
Alex Maitland b8b27f6885 WPF/OffScreen - Add WaitForRenderIdleAsync (#4080)
* WPF/OffScreen - Add WaitForRenderIdleAsync

- Task resolves when render has been idle for the specified time
- Make TaskTimeoutExtensions public (they're not extension methods as this was expected)
2022-05-30 19:11:17 +10:00