Re: firefox 4: problem with NPN_GetURL target=_self

Deepak Bhole <[email protected]>
Newsgroups gmane.comp.mozilla.devel.plugins,gmane.comp.java.openjdk.distro-packaging.devel
Message-ID <[email protected]>
* Andriy Gapon <[email protected]> [2011-05-26 15:22]:
> on 26/05/2011 00:27 Deepak Bhole said the following:
> > * Andriy Gapon <[email protected]> [2011-05-24 04:58]:
> >> on 17/05/2011 10:35 Andriy Gapon said the following:
> >>> on 16/05/2011 21:03 Deepak Bhole said the following:
> >>>> Can you please try again with the patch here applied?
> >>>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-May/014200.html
> >>>>
> >>>> That patch adds full recursive call support for showDocument() calls,
> >>>> rather than relying on FF to not make such calls. It should therefore
> >>>> always work. Please let me know if there are any problems.
> >>>
> >>> Unfortunately it still doesn't help.
> >>> In my simple test http://people.freebsd.org/~avg/java_test/ I see "Attempting to
> >>> go to: http://www.google.ca" printed if I press the button, but the page never
> >>> changes.
> >>>
> >>> Please let me know if I should provide any additional debugging info.
> >>
> >> Besides, it seems that the patch breaks the plugin in other browsers...
> >>
> > 
> > Hi,
> > 
> > Just got back from vacation...
> > 
> > Did you try applying the patch to a clean copy and building?
> 
> Yes.
> 
> > Also, what sort of breakage are you seeing? I tested it with FF4 and
> > chromium (just tried it again to be sure) and am seeing no problems.
> 
> In my test (see above) the page doesn't change on pressing the button, not even
> after timeout, and now not even in chromium.
> Without the patch, chromium works, only firefox4 has the issue.
> 
> 
> I ran `env ICEDTEAPLUGIN_DEBUG=1 chrome` and this is what is printed after
> pressing the button:
> 
> ITNPP Thread# 64249856: plugin_in_pipe_callback
> ITNPP Thread# 64249856:   PIPE: plugin read: instance 1 url http://www.google.ca
> _self
> ITNPP Thread# 64249856: Trying to lock 0x3d53e70...
> ITNPP Thread# 64249856: Message instance 1 url http://www.google.ca _self
> received on bus. Notifying subscribers.
> ITNPP Thread# 64249856: Notifying subscriber 0x3dff9e0 of instance 1 url
> http://www.google.ca _self
> ITNPP Thread# 64249856: PluginRequestProcessor processing instance 1 url
> http://www.google.ca _self
> ITNPP Thread# 64249856: PluginRequestProcessor::newMessageOnBus: { instance, 1,
> url, http://www.google.ca, _self }
> ITNPP Thread# 64249856: Warning: No consumer found for message instance 1 url
> http://www.google.ca _self
> ITNPP Thread# 64249856: 0x3d53e70 unlocked...
> ITNPP Thread# 64249856: plugin_in_pipe_callback return
> 

Hi,

This looks like the plugin installation is borked. The "instance X url
..." should not be sent by anything after the patch is applied.

Does your JAVA_HOME have a jre/lib/netx.jar and jre/lib/plugin.jar? If
so, they should be moved out of the way.

Cheers,
Deepak

> I do not preclude that this could be something specific to my environment:
> FreeBSD + OpenJDK Runtime Environment (build 1.6.0-b22).
> 
> -- 
> Andriy Gapon
> _______________________________________________
> dev-tech-plugins mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-plugins
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.