Replies: 1 comment 2 replies
-
Follow the instructions at https://github.com/cefsharp/CefSharp/wiki/SelfHost-BrowserSubProcess Make sure to change the stack size of your application.
There are two problems with this code block
For simple elements it might work with an 8mb stack size. It's likely crashing the render process in your case. See https://github.com/cefsharp/CefSharp.Dom for an alternative DOM API. |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
CefSharp Version
121.3.70
Operating System
Windows 11
Architecture
x64
.Net Version
NET 8.0
Implementation
WPF
Reproduction Steps
It works OK.
2. In order to make browser working with SelfContained=true (see #3407) add code sninppet from MinimalExample https://github.com/cefsharp/CefSharp.MinimalExample/blob/master/CefSharp.MinimalExample.Wpf/Program.PublishSingleFile.cs
This is the most valuable part.
Expected behavior
EvaluateScriptAsync should work for app with SelfContained=true
Actual behavior
EvaluateScriptAsync hangs for app with SelfContained=true and workaround from MinimalExample
Regression?
No response
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
No response
Beta Was this translation helpful? Give feedback.
All reactions