- return application/octet-stream when no mapping found
- Add custom dictionary with some additional mimeTypes, users can add their own to this dictionary
- Add xunit test
Resolves#3041
- Bind for all elements in a collection, not just when the collection contains list/arrays
- Add additional unit tests
JavaScript array of [1,2,3,1.23] translates to [int, int, int, double], when attempting to Bind
to a double[] an InvalidOperationException was thrown. We now call Bind for each element,
when the type is directly assignable we return the value, for cases like above we perform a
type conversion.
Resolves#3129
- Add Cef.PreShutdown
- For WPF hook the DispatcherShutdownStarted and DispatcherShutdownFinished events then call Cef.PreShutdown
- Add NoOpBrowserRefCounter and set as default, needs a little more testing before it's enabled by default.
Can be enabled by calling Cef.EnableWaitForBrowsersToClose before calling Cef.Initialize
Issue #3047
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