changeset 118:bb091ba157f2

Use NPN_GetURLNotify (non-blocking) instead of NPN_GetURL (blocking).
author Deepak Bhole <dbhole@redhat.com>
date Thu, 21 Apr 2011 11:06:03 -0400
parents 2b7512af4dcc
children 8ef012d564ba
files ChangeLog plugin/icedteanp/IcedTeaNPPlugin.cc
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Apr 18 13:16:39 2011 -0400
+++ b/ChangeLog	Thu Apr 21 11:06:03 2011 -0400
@@ -1,3 +1,9 @@
+2011-04-21  Deepak Bhole <dbhole@redhat.com>
+
+	* plugin/icedteanp/IcedTeaNPPlugin.cc (consume_message): Use
+	NPN_GetURLNotify (non-blocking) instead of NPN_GetURL (blocking) so that
+	the plugin is free to process additional requests.
+
 2011-04-18  Deepak Bhole <dbhole@redhat.com>
 
 	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc	Mon Apr 18 13:16:39 2011 -0400
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc	Thu Apr 21 11:06:03 2011 -0400
@@ -1177,7 +1177,7 @@
           PLUGIN_DEBUG ("plugin_in_pipe_callback: URL target %s\n", parts[4]);
 
           NPError np_error =
-            (*browser_functions.geturl) (data->owner, decoded_url, parts[4]);
+            (*browser_functions.geturlnotify) (data->owner, decoded_url, parts[4], NULL);
 
 
           if (np_error != NPERR_NO_ERROR)