问题
I'm writing a npapi plugin can sign pdf document, my plugin worked in chrome, ie but in firefox when my plugin export a dialog as image i can't input anything then my plugin is crashed. Can you tell me why i can't input anything when my plugin call a dialog of windows?
回答1:
From the response to the same question you 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.
来源:https://stackoverflow.com/questions/28190743/npapi-plugin-crash-in-firefox