silverlight 的确认对话框使 firefox 崩溃
我发现 Firefox 3.6 的一些奇怪行为 - 当我从 silverlight 3 应用程序调用 HtmlPage.Window.Confirm() 方法时,它会使浏览器崩溃。我认为,这种行为是从插件容器成为单独进程的版本开始的。可能是firefox的跨线程问题。
有人遇到这个问题吗?
多谢。
I've found some strange behaviour of firefox 3.6 - when I call HtmlPage.Window.Confirm() method from my silverlight 3 app it crashes the browser. This behaviour, I think, begins from the version when plugin container became separate process. Maybe it is cross-thread issue of firefox.
Did anybody face this problem?
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在大多数情况下,将参数 windowless 设置为 true 有助于解决此问题。
Setting param windowless to true in most cases helps to fix this problem.
是的,我在 Firefox 中遇到了同样的问题,但是您应该能够通过使用带有可选 MessageBoxButton.OKCancel 标志的 Silverlight 的 MessageBox 命令来解决这个问题。
Yes I had the same problem with Firefox but you should be able to get around it by using Silverlight's MessageBox command with the optional MessageBoxButton.OKCancel flag.