changeset 2276:674b1799df8c

Fixed PR519 (patch from dnietoc@gmail.com)
author Deepak Bhole <dbhole@redhat.com>
date Wed, 29 Sep 2010 13:37:46 -0700
parents 98ada0ecdf29
children 48029753c45f
files ChangeLog NEWS plugin/icedteanp/IcedTeaNPPlugin.cc
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Sep 29 20:37:24 2010 +0100
+++ b/ChangeLog	Wed Sep 29 13:37:46 2010 -0700
@@ -1,3 +1,10 @@
+2010-09-29  Deepak Bhole <dbhole@redhat.com>
+	
+	Fixed PR519 (patch from dnietoc@gmail.com).
+	* plugin/icedteanp/IcedTeaNPPlugin.cc: Have ITNP_NewStream return
+	NPERR_GENERIC_ERROR instead of NPERR_NO_ERROR.
+	* NEWS: Updated accordingly.
+
 2010-09-29  Andrew John Hughes  <ahughes@redhat.com>
 
 	* Makefile.am:
--- a/NEWS	Wed Sep 29 20:37:24 2010 +0100
+++ b/NEWS	Wed Sep 29 13:37:46 2010 -0700
@@ -21,6 +21,7 @@
 * Plugin  
   - PR556: Applet initialization code is prone to race conditions
   - PR557: Applet opens in a separate window if tab is closed when the applet loads
+  - PR519: 100% CPU usage when displaying applets in Webkit based browsers
 
 New in release 1.9 (2010-09-07):
 
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc	Wed Sep 29 20:37:24 2010 +0100
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc	Wed Sep 29 13:37:46 2010 -0700
@@ -797,7 +797,7 @@
 
   PLUGIN_DEBUG ("ITNP_NewStream return\n");
 
-  return NPERR_NO_ERROR;
+  return NPERR_GENERIC_ERROR;
 }
 
 void