- FrameHandler now tracks frame creation and removal and reuses the IFrame reference
- CefFrameWrapper no longer throws exception if accessing Identifier for invalid frame, this appears
to be a valid use case now which makes sense otherwise we'd never be able to identify the frame.
Resolves#3588
- Only OnFrameCreated provides a heap managed IFrame reference
this should be sufficient to keep track of frames using a
Dictionary in FrameHandler
- Xml doc updates
- Reorder IFrameHandler methods
Issue #3588
- Previously they were stack allocated and disposed when out of scope, they're now managed heap allocated
to allow for users to keep a long lived reference.
FrameHandler still needs to be updated to deal with Disposing of the references.
Follow up to #3757
Issue #3588
* WPF - Add support for Shift+AltGr
The handling of AltGr characters in CefBrowsterHostWrapper did not cover capital diacritic letters. This commit adds handling for the Shift + AltGr + character combination.
* WPF - Shift+AltGr review fixes
* Trigger rebuild
CEF has changed it's behaviour slightly to correctly support Chromium Site Isolation
Frame objects (including for the main frame) will now always change after
cross-origin navigation, and the old frame object will be invalidated.
See commit for additional details https://bitbucket.org/chromiumembedded/cef/commits/d9efaee9b9aaResolves#2967
- The Javascript methods that CefSharp provides in relation to JavaScript Binding are
created using a Global (window) Object. Settings this property allows you to disable
the creation of this object. Features like EvaluateScriptAsPromiseAsync that rely on
the creation of this object will no longer function.
IJavascriptCallbacks that are finalized after the browser has been Disposed
but before the IBrowserAdapter.IsDisposed is set might end up calling ClientAdapter::GetBrowserWrapper
which attempts to access _popupBrowsers which has been set to null already.
* Add support for Windows ARM64 for the NETCore packages.
Note: .NET 5.0 or higher is required to build a WinForms/WPF application for win-arm64.
Fixescefsharp/CefSharp#2944
* PR feedback: Remove "WIN32" define as it is already defined by minwindef.h.
* PR feedback: Switch the CefSharp.*.Example.netcore and CefSharp.Test.netcore projects from cef.redist to chromiumembeddedframework.runtime.
Note: These projects are excluded for build when platform is 'arm64', as otherwise the build fails as WinForms and WPF are not yet available for ARM64 in .NET 5.0.
* Follow-Up: Update path to CefSharp.Test.dll.
* PR feedback: Also use RuntimeInformation for the .NET Framework example projects.
* PR feedback:
- Remove copying of CefRedist files in CefSharp.AfterBuild.targets which is no longer needed.
- Update .vsconfig to include the VC ARM64 build tools.
- The Debug PDBs will now use SourceLink
- The C++/CLI projects will use SourceLink
- CefSharp.Core.dll now generates/uses a ref assembly
- The managed (c#) projects still embed sources/symbols for Release builds
At some point we should investigate generating a snupkg to reduce the dll size