firefox 4: problem with NPN_GetURL target=_self

Deepak Bhole dbhole at redhat.com
Thu Apr 21 11:30:34 PDT 2011


* Benjamin Smedberg <benjamin at smedbergs.us> [2011-04-21 14:09]:
> On 4/21/2011 11:31 AM, Deepak Bhole wrote:
> >
> >I have modified the plugin to use NPN_GetURLNotify instead of
> >NPN_GetURL. The former is non-blocking, and thus allows the plugin to
> >continue to service requests.
> They are both non-blocking.
>

I see. I was going by the documentation[1] for NPN_GetURL that says
this:
The plug-in developer cannot influence the way that the browser handles
NPN_GetURL(). It is typically asynchronous but this is not guaranteed. 

Wouldn't that mean that the non-blocking nature is not guaranteed? Or am
I misunderstanding it?

1: https://developer.mozilla.org/en/NPN_GetURL

Cheers,
Deepak

> --BDS
> 
> _______________________________________________
> dev-tech-plugins mailing list
> dev-tech-plugins at lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-plugins



More information about the distro-pkg-dev mailing list