Hi,
There is a weird issue happening with one particular OSX machine's Chrome, in our small setup.
Chrome is failing to load the plugin completely i.e. NPP_new is followed up by an NPP_destroy immediately.
Failure is because of not being able to get the NPDrawingModel/NPEventModel (both are getting returned as NONE) from within the respective plugin handling code for Mac.
Cutting through all the debugging done and reaching the final point, plugin hits the following condition inside PluginWindowMac.mm (initPluginWindowMac_CA method)
"if (supports(host, NPNVsupportsCoreAnimationBool) && set(host, NPPVpluginDrawingModel, (void*)NPDrawingModelCoreAnimation))"
supports method basically spells to NPNFuncs.getvalue and set method corresponds to NPNFuncs.setvalue
The first part of the condition itself fails i.e. NPNFuncs.getvalue method returns FALSE for "NPBool value" passed from within the supports method.
Although impertinent, but with a slight hack to check for what NPNFuncs.setvalue does, it returns an error code of 1 (NPERR_GENERIC_ERROR).
To reiterate, all this is happening only one particular OSX machine (10.7.4 i5 Macbook pro) only so far. We tried with same Chrome version (26.0.1410.65) across different Mac machines, but only this one fails as pointed out above.
I am not sure if there is some check in Firebreath that needs to make this call failsafe or Chrome is being a pain or it's neither of the 2 but just that I failed to understand some aspect of this.
Looking forward to some help from you folks.
thanks and regards,
Utkarsh