Instead use Cef.GetMimeType to use the Chromium MimeType Mappings
Rather than maintain our own mapping (which is out of date) we'll defer to Chromium.
Make ResourceHandler.FromString(string, string) and ResourceHandler.GetMimeType obsolete, they will be removed at some point
ResourceHandler.FromString uses ResourceHandler.GetMimeType internally, Replacing with ResourceHandler.FromString(resource, mimeType: Cef.GetMimeType(extension));
uses a different overload.
Issue #3041
Call CreateControl instead of displaying form.
Tooltips, context menus may not be positioned/displayed correctly as there is no parent form (window). For testing
purposes that's fine for now.
* enable CefSharp Wpf tests
* enable CefSharp WinForms tests
* using assembly resolver to fix serialization exception when using Xunit.StaFact with default appdomain
AppVeyor - Enable Unit Tests on Build
* Test - Fix tests
* use async which isn't that flaky
* rename CurrentDomainAssemblyResolve
* replace project reference to CefSharp.BrowserSubprocess with solution dependency
* updated comment on fixture
* revert whitespace changes
* remove project reference to CefSharp.BrowserSubprocess for consistency
solution dependency already exists
* move binding redirect with assembly resolve to separate fixture
* Revert "remove project reference to CefSharp.BrowserSubprocess for consistency"
This reverts commit b8b1d28c30.
* Revert ConcurrentMethodRunnerQueueFacts
- Add BrowserRefCounter to increment/decrement CefBrowser instance creation
- Add Cef.WaitForBrowsersToClose to dispose of all browser instances and call WaitForBrowsersToClose
Before calling CefShutdown it's important that CEF has finished closing/disposing of all the CefBrowser instances.
If you call CefShutdown before this has finished then you can get the error
"Check failed: !IsCefShutdown(). Object reference incorrectly held at CefShutdown".
This is more a problem when using MultiThreadedMessageLoop where CEF close/dispose happens on a different thread.
Calling ChromiumWebBrowser.Dispose will start to free the resources, CEF internally executes code on it's own thread.
#3047
*WPF IME Fix Korean character emitting issue
Fixes a Korean IME related problem. A user cannot make a word or a sentence by progressing (producing) a single Korean character. Current experimental handler fails to 'emit' a composed Korean character.
There is no example of Cancel in the source code and the description in the doc doesn't
really provide a clear explanation of it's intended use case.
See code comment for further details