firefox 4: problem with NPN_GetURL target=_self

Andriy Gapon avg at icyb.net.ua
Thu May 26 12:21:53 PDT 2011


on 26/05/2011 00:27 Deepak Bhole said the following:
> * Andriy Gapon <avg at icyb.net.ua> [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

I do not preclude that this could be something specific to my environment:
FreeBSD + OpenJDK Runtime Environment (build 1.6.0-b22).

-- 
Andriy Gapon



More information about the distro-pkg-dev mailing list