firefox 4: problem with NPN_GetURL target=_self

Benjamin Smedberg benjamin at smedbergs.us
Tue Apr 19 11:05:58 PDT 2011


On 4/19/2011 11:44 AM, Andriy Gapon wrote:
> [sorry for the cross-post but the issue at hand seems to be of dual nature]
>
> I observe a particular problem with Firefox 4 and IcedTea Java plugin.
> The issue can be described in simple terms as follows:
> - the plugin calls the browser via NPN_GetURL(target=_self) [because that's what a
> Java applet instructs it to do]
> - the browser makes a "nested" call back to the plugin via
> NPP_GetValue(NPPVpluginScriptableNPObject)
It seems a bit odd that we are getting the scriptable object in this 
case, but in general plugins should expect to receive nested calls 
(except for NPP_Destroy) and be prepared to handle them.

It sounds like this could possibly be related to the plugin process 
implementation in Firefox 4, but we turned that off for Java plugins 
because of persistent bugs, so it shouldn't be an issue.

--BDS




More information about the distro-pkg-dev mailing list