We are developing a Netscape plugin for Safari in Mac I have a scenario in which the initialization done in NPP_New function fails and I am returning NPERR_GENERIC_ERROR. How can i read this error code in Javascript.
Any help in this regard would be greatly appreciated. Thanks in advance.
If you need to identify this specific failure scenario i can think of the following options:
ret = plugin.initStuff()
)