ExecuteScript super slow
hi, I called WebView->ExecuteScript to call some javascript function with a string as parameter.
when the string size is > 3M, the cef crashed. is there anyone coming to the same problem? how should we fix it?
thanks
Can you confirm the version of CefSharp your using?
CefSharp-1.25.7. do you need any other info?
@microwishing Are you using Javascript binding or simply ExecuteScript? As CefSharp1 is in maintenance mode, active development has pretty much stopped. If your not using Javascript binding then I'd suggest you upgrade to CefSharp3, whilst there has yet to be an official release, the master branch is quite stable and under active development, so any issues you have going forward are more likely to be resolved.
If your stuck using 1.25.7, then your more than welcome to investigate the issue and submit a PR.
Out of curiosity what sort of javascript is greater than 3M in size? If your simply doing a get text or view source then CefSharp3 has native features for those.
For a CefSharp3 release that includes JS Binding please see our latest nuget package 33.1.0-pre01.
More info can be found here #480