WebKit does not implement NPN_PluginThreadAsyncCall. A plugin could spawn another thread, but it can not call JavaScript (or any other API call) from that other thread.

On Sep 28, 2007, at 10:26 AM, Song Yuan wrote:

Are plugins implemented by using Netscape APIs in WebKit thread safe? Does Netscape APIs in WebKit have similar APIs like NPN_PluginThreadAsyncCall (refer to http://developer.mozilla.org/en/docs/NPN_PluginThreadAsyncCall) in Gecko SDK in Mozilla? Will a new thread pawned from plugin main thread be able to invoke any JavaScript methods in browser?

— Timothy Hatcher