- Double was being cast to float
- If newDpi is same as old DPI do nothing, no extra floating point comparison is being used, so in some cases
it's possible the DPI change will be triggered when the DPI's are actually the same
* Core - Add IURLRequest #1721
Add IURLRequest, IURLRequestClient, and GetURLRequest to IFrame
* Rename URL classes to Url, add xmldoc and licenses
* Add UrlRequestClient to CefSharp.Example, more minor cleanup
* Getters
* Rebase tweaks
* Fix filenames, remove unused
* Use UnmanagedMemoryStream instead of byte array for IUrlRequestClient.OnDownloadData
Extract DPI change code into a public method that can be called when the `WPF` window changes it's DPI
As we target .Net 4.5.2 we don't have access to the new managed DPI change notification that was added in WPF (.Net 4.6)
Resolves#2856
Running locally the following error was occurring
`Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure
channel.`
- MemoryStreamResponseFilter renamed to StreamResponseFilter
- Stream is now passed into StreamResponseFilter constructor
- ExampleResourceRequestHandler updated to reflect that it now represents a single resource request
- ExampleResourceRequestHandler is now used for all requests from the CefSharpSchemeHandlerFactory.SchemeName custom scheme
Issue #2743
* Updated the issue #2779 hack to run asynchronous without crashing.
* Fixed race condition between ChromiumWebBrowser.Dispose and running code on the CEF UI thread.
.Net could fails with exception "Unable to find an entry point named 'CopyMemory' in DLL 'kernel32.dll`" as
the export doesn't exist see reference https://github.com/dotnet/coreclr/issues/24008
Issue #2053
- Execute all WasResized/WasHidden functions on the CEF UI Thread in an attempt to avoid an assertion in RenderWidgetHostImpl::SynchronizeVisualProperties
- Reduce the delay between WasResized calls in the hack
Refinements made to the hack introduced in https://github.com/cefsharp/CefSharp/issues/2779#issuecomment-515435424
Issue #2779
- The MVVM Light RelayCommand keeps a WeakRef to the command action, for us this is anonymous, so we
need to keep the target alive.
- Updated MVVMLightLibs (required for keepTargetAlive)
Adding multiple entries to CefSettings.RegisterScheme that share the same scheme name
yet have different domain/schemehandlerfactory implementations is valid.
We will only register the first set of SchemeName/SchemeOption values (first call to RegisterScheme).
It's likely the WCF host didn't start and some break points should be added in ManagedCefBrowserAdapter::InitializeBrowserProcessServiceHost
to catch the actual exception. We're not logging as it causes too many false positives as it's expected there will be errors
when browser is created then rapidly Disposed.
Resolves#2839