【发布时间】:2015-01-28 11:10:30
【问题描述】:
我正在编写一个 npapi 插件可以签署 pdf 文档,我的插件在 chrome 中工作,但在 Firefox 中,当我的插件将对话框导出为图像时,我无法输入任何内容,然后我的插件崩溃了。 你能告诉我为什么当我的插件调用窗口对话框时我不能输入任何东西吗?
【问题讨论】:
-
您好,您解决了这个问题吗?
标签: npapi firebreath
我正在编写一个 npapi 插件可以签署 pdf 文档,我的插件在 chrome 中工作,但在 Firefox 中,当我的插件将对话框导出为图像时,我无法输入任何内容,然后我的插件崩溃了。 你能告诉我为什么当我的插件调用窗口对话框时我不能输入任何东西吗?
【问题讨论】:
标签: npapi firebreath
来自你asked on the firebreath-dev group的同一个问题的回复:
You must never block the main (UI) thread in a plugin. Run your dialog on another thread and it'll probably work.
【讨论】: