Bug 705931 - FF crashes when you leave/close page with many Java applets (using latest Apple Java updates). r=jst

This commit is contained in:
Steven Michaud 2011-12-08 17:28:07 -06:00
parent 1c6e429d39
commit de096abfed

View File

@ -233,7 +233,9 @@ PRLogModuleInfo* nsPluginLogging::gPluginLog = nsnull;
// #defines for plugin cache and prefs
#define NS_PREF_MAX_NUM_CACHED_INSTANCES "browser.plugins.max_num_cached_plugins"
#define DEFAULT_NUMBER_OF_STOPPED_INSTANCES 10
// Raise this from '10' to '50' to work around a bug in Apple's current Java
// plugins on OS X Lion and SnowLeopard. See bug 705931.
#define DEFAULT_NUMBER_OF_STOPPED_INSTANCES 50
#ifdef CALL_SAFETY_ON
// By default we run OOPP, so we don't want to cover up crashes.