Closed Switch0621 closed 2 weeks ago
Try to disable the feature FirstPartySets
using a flag when initializing CEF
AppBuilder.Configure<App>()
.UsePlatformDetect()
.With(new Win32PlatformOptions())
.AfterSetup(_ => CefRuntimeLoader.Initialize(new CefSettings() {
RootCachePath = cachePath,
#if WINDOWLESS
// its recommended to leave this off (false), since its less performant and can cause more issues
WindowlessRenderingEnabled = true
#else
WindowlessRenderingEnabled = false
#endif
},
customSchemes: new[] {
new CustomScheme()
{
SchemeName = "test",
SchemeHandlerFactory = new CustomSchemeHandler()
}
},
flags: [ new KeyValuePair<string, string>("disable-features", "FirstPartySets") ]))
.StartWithClassicDesktopLifetime(args);
It's related to this issue https://github.com/chromiumembedded/cef/issues/3643
Can someone open a PR?
Hi all! CefGlue.Avalonia.Demo (WIN10 x64) in Debug and Debug_WindowlessRender is crashing when i trying to type something in youtube search. Besides it's crashing when i set cariet into input field of youtube search line.