- Simplification of calling the DevTools method
- Moved GetContentSizeAsync from OffScreen into partial class (now accessible from WinForms/WPF/OffScreen).
- Added menu option
Resolves#4081
- Add new WaitForNavigationAsync method
- Change LoadUrlAsync to return CefErrorCode.Failed for HttpStatusCode = -1 (better represents there was an error)
Example:
var navigationTask = browser.WaitForNavigationAsync();
var evaluateTask = browser.EvaluateScriptAsync($"window.location.href = '{expected}';");
await Task.WhenAll(navigationTask, evaluateTask);
var navigationResponse = navigationTask.Result;
Resolves#4073
- Updating of CefSharp.Common.nuspec is handled by build.ps1
- Order code so functions come before inline code
- Fix removing EnsureNuGetPackageBuildImports
- For Non library projects that use packages.config the default is now Content which should simplify clickonce support
For libraries the default will remain as None
- For NetCore projects CefSharpBuildAction Content is mapped to default to support upgrading users
Technically this is a breaking change, user impact is expected to be low and can be overridden to restore
the previous behaviour in the edge cases.
Issue #4062
Current DesignMode property is only true when the control is directly interacting with the designer.
This checks if an ancestor is in design mode to allow support for UserControls
Issue #4057
- For Net 4.5.2 it appears we need to resign the exe
- For .Net Core as the exes are native it doesn't look
like we need to sign them (the CefSharp.BrowserSubprocess.dll is actually
the one that's signed).
- Remove unused CefSharpBrowserSubprocessPostBuildEvent
Issue #3986
* Core - added support for property interceptor
* Incorporated the review comments
* Incorporated the review comments 2
* Review comments exclude trygetproperty and trysetproperty for .netcore app
* Added the unit test cases for trygetproperty and trysetproperty
* Fixed .net core app build failure
* Added the separate test case for property interceptor
Co-authored-by: sghanti <santosh_ghanti@intuit.com>
I have just discovered that when HasHandlers returns false, the GetResourceRequestHandler method is never executed. Presumably this is an optimisation which happens inside of Chromium, as I can see that the HasHandlers property value goes all way back to the C++ native project.
I was about to suggest removing this optimisation because it'd be trivial to optimise and return early inside the default factory impl in C# world. If it goes all the way down to Chromium then that's less easy and so the next best thing would be to document it.