我正在使用 C# .Net Windows 应用程序。在这里,我使用了来自 bitbucket 的 xulrunner 22.0 + Geckofx 22.0。
我已经使用 Geckofx 浏览器在我的应用程序中显示 flash 内容。
每当我关闭窗体时,我都会收到一条消息
"Unresponsive Script"
'A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.'
有什么想法吗?
最佳答案
尝试使用 GeckoPreference 将 dom.max_script_run_time
设置为大于默认值或设置为 0 以禁用它。
GeckoPreferences.User["dom.max_script_run_time"] = 0;
确保在调用 Xpcom.Initialize
之后执行此操作。
关于c# - Windows 窗体关闭时出现 “Unresponsive Script",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18800105/