Plugin-container and out-of-process plugins: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Related bug reports: added bug 598406)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
:''This article applies to Firefox 3.6.4 and above''
''This article describes a crash protection feature in current Mozilla browsers, in which plugins are run in a separate process.  It was written for Firefox but also applies to SeaMonkey 2.1 and above.''


==Crash protection==
==Crash protection==
Line 10: Line 10:
These "whitelisted"  plugins in Firefox 3.6 releases (Firefox 3.6.4 and above) are each specified in a separate '''dom.ipc.plugins.enabled.''<filename>''''' preference  that is set to '''true''' for each OOPP-enabled plugin.  (Crash protection is disabled by default for all other plugins so, by default,  the '''dom.ipc.plugins.enabled''' preference that permits all plugins to run "out-of process" is set to '''false'''.)  
These "whitelisted"  plugins in Firefox 3.6 releases (Firefox 3.6.4 and above) are each specified in a separate '''dom.ipc.plugins.enabled.''<filename>''''' preference  that is set to '''true''' for each OOPP-enabled plugin.  (Crash protection is disabled by default for all other plugins so, by default,  the '''dom.ipc.plugins.enabled''' preference that permits all plugins to run "out-of process" is set to '''false'''.)  


'''Note:'''  This new crash protection feature will be available for Mac OS (10.6 or higher) in Firefox 4.  [https://bugzilla.mozilla.org/show_bug.cgi?id=556545] [http://forums.mozillazine.org/viewtopic.php?f=23&t=1913645]
'''Note:'''  This new crash protection feature is available for Mac OS (10.6 or higher) in Firefox 4 and above.  [https://bugzilla.mozilla.org/show_bug.cgi?id=556545] [http://forums.mozillazine.org/viewtopic.php?f=23&t=1913645]


===Plugin-container===
===Plugin-container===
An out-of-process plugin runs in a separate process named "plugin-container" ("plugin-container.exe" on Windows).  For each plugin for which the "OOPP" crash protection feature is enabled,  a separate plugin-container process will be started when you first visit a webpage that evokes that plugin.  When you exit Firefox,  those plugin-container processes will terminate.
For each plugin for which the "OOPP" crash protection feature is enabled,  a separate plugin process will be started when you first visit a webpage that evokes that plugin.  When you exit Firefox,  those plugin-container processes will terminate.  This plugin process is named "plugin-container" on Linux, "plugin-container.exe" on Windows, and "Firefox Plugin Process (<plugin-name>)" on Mac OS.


'''Important:'''  Your [[Firewalls |firewall]] or other security software may block plugin-container and prevent a plugin from working.  If you are asked  for permission to allow plugin-container access to the Internet, you should allow it.  If you previously denied access,  you should change your security software program settings to allow plugin-container.  [http://forums.mozillazine.org/viewtopic.php?f=38&t=1939469] [http://forums.mozillazine.org/viewtopic.php?f=38&t=1929275] [http://support.mozilla.com/forum/1/704794] [http://support.mozilla.com/forum/1/703573] [http://forums.mozillazine.org/viewtopic.php?f=23&t=1989839&start=15]
'''Important:'''  Your [[Firewalls |firewall]] or other security software may block the plugin-container process and prevent a plugin from working.  If you are asked  for permission to allow the plugin-container process to access the Internet, you should allow it.  If you previously denied access,  you should change your security software program settings to allow plugin-container.  [http://forums.mozillazine.org/viewtopic.php?f=38&t=1939469] [http://forums.mozillazine.org/viewtopic.php?f=38&t=1929275] [http://forums.mozillazine.org/viewtopic.php?f=23&t=1989839&start=15]


===Plugin error dialog===
===Plugin error dialog===
Firefox will automatically use an installed and enabled plugin for embedded webpage content, such as [[Flash]] videos on YouTube.  If the plugin crashes or if Firefox detects that the plugin has stopped responding,  the plugin will terminate and you will see an error dialog on the webpage, instead of the content that uses the plugin.  To send a crash report to Mozilla,  click the <u>Send crash report</u> link in the error dialog.
Firefox will automatically use an installed and enabled plugin for embedded webpage content, such as [[Flash]] videos on YouTube.  If the plugin crashes or if Firefox detects that the plugin has stopped responding,  the plugin will terminate and you will see an error dialog on the webpage, instead of the content that uses the plugin.  To send a crash report to Mozilla,  click the <u>Send crash report</u> link in the error dialog.


==Disabling crash protection==
==Disabling crash protection==
In some cases you may want to disable the "out-of-process plugins" (OOPP) crash protection feature; e.g.,  to troubleshoot problems  that first appeared in Firefox 3.6.4 or above.  To disable crash protection, go to  [[about:config]] and set all '''dom.ipc.plugins.enabled.*''' preferences to '''false'''.  This will prevent the "plugin-container" process from running and all plugins will run within the Firefox browser process.   [http://support.mozilla.com/en-US/forum/1/703573?forumId=1&comments_offset=20#threadId708295]  [http://support.mozilla.com/en-US/forum/1/713600]
In some cases you may want to disable the "out-of-process plugins" (OOPP) crash protection feature; e.g.,  to troubleshoot problems  that first appeared in Firefox 3.6.4 or above.  To disable crash protection, go to  [[about:config]] and set to '''false''' all preferences starting with '''dom.ipc.plugins.enabled'''.  (It is possible that your browser has only that preference entry without any addition.) This will prevent the "plugin-container" process from running and all plugins will run within the Firefox browser process.  


For example, to disable crash protection in Firefox 3.6 releases (3.6.4 and above) type '''about:config''' in the [[Location Bar]] (address bar) and press the Enter key.  When the list of preferences appears, find the following preferences.  (Each preference specifies an "out-of-process" plugin by its filename;  the name shown in parentheses is for informational purposes only):
===Firefox 3.6.x===
To disable crash protection in Firefox 3.6 releases (3.6.4 and above) type '''about:config''' in the [[Location Bar]] (address bar) and press the Enter key.  When the list of preferences appears, type ''dom.ipc.plugins.enabled'' to find the following preferences.  (Each preference specifies an "out-of-process" plugin by its filename;  the name shown in parentheses is for informational purposes only):


'''On Linux:'''
'''On Linux:'''
Line 41: Line 42:
'''Note:''' In Firefox 3.6 releases (3.6.4 and above) the preference [[dom.ipc.plugins.enabled]] is already set to "false", by default.
'''Note:''' In Firefox 3.6 releases (3.6.4 and above) the preference [[dom.ipc.plugins.enabled]] is already set to "false", by default.


===Firefox 4===  
===Firefox 4 and above===  
''This applies to Firefox pre-release builds (3.7a1pre and above) and to the upcoming Firefox 4 release, currently in Beta at time of writing.  The information below may change when the final version of Firefox 4 is released. For more information about Firefox test builds, see [[Testing pre-release versions]]. ''  
''This applies to Firefox pre-release builds (3.7a1pre and above) and Firefox 4 Beta as well as Firefox 4.0 and later releases. For more information about Firefox test builds, see [[Testing pre-release versions]].''


'''On Mac OS,''' (10.6 or above), in Firefox 4 Beta releases previous to Beta 7,  only certain plugins  (Flash Player and Java) were "whitelisted" to run out-of-process  by default.  These plugins were set to "true" in the preference '''dom.ipc.plugins.enabled.''<filename>'''''.  Starting in Firefox 4 Beta 7,  the following preferences are set to "true" , by default:
====Mac OS====
On Mac OS (10.6 or above), in Firefox 4 Beta releases previous to Beta 7,  only certain plugins  (Flash Player and Java) were "whitelisted" to run out-of-process  by default.  These plugins were set to "true" in the preference '''dom.ipc.plugins.enabled.''<filename>'''''.   


Starting in Firefox 4 Beta 7,  the following preferences are set to "true" , by default:
*dom.ipc.plugins.enabled.i386.flash player.plugin
*dom.ipc.plugins.enabled.i386.flash player.plugin
*dom.ipc.plugins.enabled.i386.javaplugin2_npapi.plugin
*dom.ipc.plugins.enabled.i386.javaplugin2_npapi.plugin
*dom.ipc.plugins.enabled.x86_64   
*dom.ipc.plugins.enabled.x86_64   


'''Important:''' When Firefox 4 Beta 7 is run in 64-bit mode (the default for 64-bit Mac OS 10.6) all plugins are set to run out-of-process via the preference '''dom.ipc.plugins.enabled.x86_64''', which is set to "true" by default.  If you change this preference to "false" when running in 64-bit mode, some or all of your plugins (e.g, Flash)  will not work.  Note that not all 32-bit plugins will run on Firefox 4 in 64-bit mode.  Only  plugins that use the Cocoa version of NPAPI will load; any i386 (32-bit) plugin still using Carbon NPAPI won’t load (e.g., Flash plugins  previous to version 10.1 will not work when Firefox 4 is run in 64-bit mode).  [http://boomswaggerboom.wordpress.com/2010/11/10/firefox-4-for-mac-os-x-under-the-hood/] [http://mxr.mozilla.org/mozilla-central/source/browser/app/profile/firefox.js#932]  To troubleshoot plugins in Firefox 4.0 Beta 7 and later, set Firefox to run in 32-bit mode (close Firefox, control-click the Firefox.app icon, select "Get Info", and then check the box, "Open in 32-bit mode") before disabling crash protection.
'''Important:''' Starting in Firefox 4 Beta 7, when Firefox is run in 64-bit mode (the default for 64-bit Mac OS 10.6) all plugins are set to run out-of-process via the '''dom.ipc.plugins.enabled.x86_64''' preference, which is set to "true" by default.  If you change this preference to "false" when running in 64-bit mode, some or all of your plugins will not work.  Note that not all 32-bit plugins will run in 64-bit mode.  Only  plugins that use the Cocoa version of NPAPI will load; any i386 (32-bit) plugin still using Carbon NPAPI won’t load (e.g., Flash plugins  previous to version 10.1 will not work when Firefox is run in 64-bit mode).  [http://boomswaggerboom.wordpress.com/2010/11/10/firefox-4-for-mac-os-x-under-the-hood/] [http://mxr.mozilla.org/mozilla-central/source/browser/app/profile/firefox.js#932]  To troubleshoot plugins in Firefox 4.0 Beta 7 and above, set Firefox to run in 32-bit mode (close Firefox, control-click the Firefox.app icon, select "Get Info", and then check the box, "Open in 32-bit mode") before disabling crash protection.


'''On Windows and Linux,'''  in recent pre-release builds and in Firefox 4 Beta releases, the OOPP crash protection feature is enabled for all plugins and the preference '''dom.ipc.plugins.enabled''' is set to '''true''', by default.   To disable crash protection,  toggle this  preference  from "true" to '''false'''.  If you only want to disable certain plugins from running "out-of-process",  you can  "blacklist" each plugin by creating a new boolean preference  '''dom.ipc.plugins.enabled.''<filename>'''''  and setting its value to '''false'''.  Filenames of specific plugins can be found in [[about:plugins]]  and should be entered in lower-case.  For example,  to disable OOPP for the Adobe Flash plugin on Windows, create a new boolean preference named  '''dom.ipc.plugins.enabled.npswf32.dll''' and set its value to '''false'''.  [https://bugzilla.mozilla.org/show_bug.cgi?id=539063]   
====Windows and Linux====
In Firefox 4 and above on Windows and Linux, the preference '''dom.ipc.plugins.enabled''' is set to '''true''' by default and the OOPP crash protection feature is enabled for all plugins, with the exception of Java on Windows ([[#Java plugin on Windows| see below]]).   To disable crash protection,  toggle this  preference  from "true" to '''false'''.  If you only want to disable certain plugins from running "out-of-process",  you can  "blacklist" each plugin by creating a new boolean preference  '''dom.ipc.plugins.enabled.''<filename>'''''  and setting its value to '''false'''.  Filenames of specific plugins can be found in [[about:plugins]]  and should be entered in lower-case.  [https://bugzilla.mozilla.org/show_bug.cgi?id=539063]   


'''Note:''' Starting in trunk builds after 10-15-2010, a new preference '''dom.ipc.plugins.java.enabled''' has been added.  [http://hg.mozilla.org/mozilla-central/rev/6bef1538745f]   On Windows builds, this preference will be set to '''false''' by default, due to stability issues when OOPP for Java is enabled ([https://bugzilla.mozilla.org/show_bug.cgi?id=603417 bug 603417]).
====Flash plugin on Windows Vista and above====
Starting in Firefox 14, Flash is force-enabled to run out-of-process in a plugin-container process on Windows Vista and above, because of stability issues when OOPP is disabled ([https://bugzilla.mozilla.org/show_bug.cgi?id=769721 bug 769721]).  [http://forums.mozillazine.org/viewtopic.php?f=38&t=2503949] [https://support.mozilla.org/questions/932561]
 
====Java plugin on Windows====
On Windows, the preference '''dom.ipc.plugins.java.enabled''' was added (starting in trunk builds after 10-15-2010) and is set to '''false''' by default, to prevent Java from running inside a plugin-container process because of stability issues when OOPP for Java is enabled ([https://bugzilla.mozilla.org/show_bug.cgi?id=603417 bug 603417]). [http://hg.mozilla.org/mozilla-central/rev/6bef1538745f]


==Plugin hang detector==
==Plugin hang detector==
Line 60: Line 68:


==See also==
==See also==
* [[Flash#Flash_issues_in_Firefox_3.6.4_and_above|Flash issues in Firefox 3.6.4 and above]]
* [[Flash#Plugin-container_issues|Flash Plugin-container issues]]


==External links==
==External links==
*[https://developer.mozilla.org/devnews/index.php/2010/06/22/firefox-3-6-4-with-crash-protection-now-available/ Firefox 3.6.4 with Crash Protection Now Available (MDC News)]
*[https://developer.mozilla.org/devnews/index.php/2010/06/22/firefox-3-6-4-with-crash-protection-now-available/ Firefox 3.6.4 with Crash Protection Now Available (MDC News)]
*[https://developer.mozilla.org/en/Plugins/Out_of_process_plugins/The_plugin_hang_detector The plugin hang detector (MDC)]
*[https://developer.mozilla.org/en/Plugins/Out_of_process_plugins/The_plugin_hang_detector The plugin hang detector (MDC)]
*[http://support.mozilla.com/kb/Plugin+crash+reports Plugin crash reports (Firefox Support)]
*[https://support.mozilla.org/kb/Plugin+crash+reports Plugin crash reports (Firefox Support)]
*[http://support.mozilla.com/kb/What+is+plugin-container What is plugin-container (Firefox Support)]
*[https://support.mozilla.org/kb/What+is+plugin-container What is plugin-container (Firefox Support)]
* [http://mozillalinks.org/wp/2010/06/firefox-3-6-4-now-available/ Firefox 3.6.4 now available with out of process plugins] at mozillalinks.org
* [http://mozillalinks.org/wp/2010/06/firefox-3-6-4-now-available/ Firefox 3.6.4 now available with out of process plugins] at mozillalinks.org
* [https://wiki.mozilla.org/Firefox/Crash_Protection Firefox/Crash Protection - MozillaWiki]
* [https://wiki.mozilla.org/Firefox/Crash_Protection Firefox/Crash Protection - MozillaWiki]
Line 74: Line 82:
* [https://bugzilla.mozilla.org/show_bug.cgi?id=538910 Bug 538910 - Plugins: Need a "plugin crashed" UI]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=538910 Bug 538910 - Plugins: Need a "plugin crashed" UI]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=539063 Bug 539063 - Implement a whitelist and blacklist for OOPP]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=539063 Bug 539063 - Implement a whitelist and blacklist for OOPP]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=544936 Bug 544936 - Kill hung plugins in a way that generates minidumps, and grab browser minidumps around the same time]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=545716 Bug 545716 - (SM-OOPP) Use out-of-process-plugins (OOPP) framework in SeaMonkey]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=545716 Bug 545716 - (SM-OOPP) Use out-of-process-plugins (OOPP) framework in SeaMonkey]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=556092 Bug 556092 - &#91;OOPP&#93; Whitelist Flash 10.1+ and JavaPlugin2 on Mac OS X]  
* [https://bugzilla.mozilla.org/show_bug.cgi?id=556092 Bug 556092 - &#91;OOPP&#93; Whitelist Flash 10.1+ and JavaPlugin2 on Mac OS X]  
Line 84: Line 93:
* [https://bugzilla.mozilla.org/show_bug.cgi?id=598406 Bug 598406 - Silverlight not supported by i386/x86_64 universal binary on Mac OS X 10.6]   
* [https://bugzilla.mozilla.org/show_bug.cgi?id=598406 Bug 598406 - Silverlight not supported by i386/x86_64 universal binary on Mac OS X 10.6]   
* [https://bugzilla.mozilla.org/show_bug.cgi?id=603417 Bug 603417 - Blacklist out of process Java plugins on Windows]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=603417 Bug 603417 - Blacklist out of process Java plugins on Windows]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=610526 Bug 610526 - Firefox never loads flash in "out of process" mode on some older macs with GMA9xx or GMAX31xx GPUs]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=633427 Bug 633427 - Clearing cookies launches instance of plugin-container for each plugin installed]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=874167 Bug 874167 - Use OOPP for Java on Windows (again), with infinite plugin timeout if the hang UI shows]


[[Category:Plugins]] [[Category:Issues (Firefox)]]
[[Category:Plugins]] [[Category:Issues (Firefox)]]

Latest revision as of 15:39, 10 January 2014

This article describes a crash protection feature in current Mozilla browsers, in which plugins are run in a separate process. It was written for Firefox but also applies to SeaMonkey 2.1 and above.

Crash protection

Starting in Firefox 3.6.4 on Windows and Linux, a new crash protection feature isolates certain plugins from the browser process and sets those plugins to each run in a separate plugin-container process. Before this new "out-of-process plugins" ("OOPP") crash protection feature, a problem with a plugin (e.g, Adobe Flash) would often cause the entire Firefox browser to crash. When an "out-of-process plugin" stops working, Firefox can remain running and just the portions of a webpage that need the plugin will be disabled (i.e., missing the plugin content).

In Firefox 3.6 releases since Firefox 3.6.4, the crash protection feature that sets plugins to run in a separate process is enabled for specified plugins only. By default, the plugins enabled to run "out-of-process" are the NPAPI test plugin, Adobe Flash, Apple QuickTime (Windows) and Microsoft Silverlight (Windows). [1]

These "whitelisted" plugins in Firefox 3.6 releases (Firefox 3.6.4 and above) are each specified in a separate dom.ipc.plugins.enabled.<filename> preference that is set to true for each OOPP-enabled plugin. (Crash protection is disabled by default for all other plugins so, by default, the dom.ipc.plugins.enabled preference that permits all plugins to run "out-of process" is set to false.)

Note: This new crash protection feature is available for Mac OS (10.6 or higher) in Firefox 4 and above. [2] [3]

Plugin-container

For each plugin for which the "OOPP" crash protection feature is enabled, a separate plugin process will be started when you first visit a webpage that evokes that plugin. When you exit Firefox, those plugin-container processes will terminate. This plugin process is named "plugin-container" on Linux, "plugin-container.exe" on Windows, and "Firefox Plugin Process (<plugin-name>)" on Mac OS.

Important: Your firewall or other security software may block the plugin-container process and prevent a plugin from working. If you are asked for permission to allow the plugin-container process to access the Internet, you should allow it. If you previously denied access, you should change your security software program settings to allow plugin-container. [4] [5] [6]

Plugin error dialog

Firefox will automatically use an installed and enabled plugin for embedded webpage content, such as Flash videos on YouTube. If the plugin crashes or if Firefox detects that the plugin has stopped responding, the plugin will terminate and you will see an error dialog on the webpage, instead of the content that uses the plugin. To send a crash report to Mozilla, click the Send crash report link in the error dialog.

Disabling crash protection

In some cases you may want to disable the "out-of-process plugins" (OOPP) crash protection feature; e.g., to troubleshoot problems that first appeared in Firefox 3.6.4 or above. To disable crash protection, go to about:config and set to false all preferences starting with dom.ipc.plugins.enabled. (It is possible that your browser has only that preference entry without any addition.) This will prevent the "plugin-container" process from running and all plugins will run within the Firefox browser process.

Firefox 3.6.x

To disable crash protection in Firefox 3.6 releases (3.6.4 and above) type about:config in the Location Bar (address bar) and press the Enter key. When the list of preferences appears, type dom.ipc.plugins.enabled to find the following preferences. (Each preference specifies an "out-of-process" plugin by its filename; the name shown in parentheses is for informational purposes only):

On Linux:

  • dom.ipc.plugins.enabled.libflashplayer.so (Adobe Flash)
  • dom.ipc.plugins.enabled.libnptest.so (NPAPI test plugin)

On Windows:

  • dom.ipc.plugins.enabled.npctrl.dll (Microsoft Silverlight)
  • dom.ipc.plugins.enabled.npqtplugin.dll (Apple QuickTime)
  • dom.ipc.plugins.enabled.npswf32.dll (Adobe Flash)
  • dom.ipc.plugins.enabled.nptest.dll (NPAPI test plugin)

Toggle (double-click) each preference to change the value from "true" to false, as shown below on Windows.

Note: In Firefox 3.6 releases (3.6.4 and above) the preference dom.ipc.plugins.enabled is already set to "false", by default.

Firefox 4 and above

This applies to Firefox pre-release builds (3.7a1pre and above) and Firefox 4 Beta as well as Firefox 4.0 and later releases. For more information about Firefox test builds, see Testing pre-release versions.

Mac OS

On Mac OS (10.6 or above), in Firefox 4 Beta releases previous to Beta 7, only certain plugins (Flash Player and Java) were "whitelisted" to run out-of-process by default. These plugins were set to "true" in the preference dom.ipc.plugins.enabled.<filename>.

Starting in Firefox 4 Beta 7, the following preferences are set to "true" , by default:

  • dom.ipc.plugins.enabled.i386.flash player.plugin
  • dom.ipc.plugins.enabled.i386.javaplugin2_npapi.plugin
  • dom.ipc.plugins.enabled.x86_64

Important: Starting in Firefox 4 Beta 7, when Firefox is run in 64-bit mode (the default for 64-bit Mac OS 10.6) all plugins are set to run out-of-process via the dom.ipc.plugins.enabled.x86_64 preference, which is set to "true" by default. If you change this preference to "false" when running in 64-bit mode, some or all of your plugins will not work. Note that not all 32-bit plugins will run in 64-bit mode. Only plugins that use the Cocoa version of NPAPI will load; any i386 (32-bit) plugin still using Carbon NPAPI won’t load (e.g., Flash plugins previous to version 10.1 will not work when Firefox is run in 64-bit mode). [7] [8] To troubleshoot plugins in Firefox 4.0 Beta 7 and above, set Firefox to run in 32-bit mode (close Firefox, control-click the Firefox.app icon, select "Get Info", and then check the box, "Open in 32-bit mode") before disabling crash protection.

Windows and Linux

In Firefox 4 and above on Windows and Linux, the preference dom.ipc.plugins.enabled is set to true by default and the OOPP crash protection feature is enabled for all plugins, with the exception of Java on Windows ( see below). To disable crash protection, toggle this preference from "true" to false. If you only want to disable certain plugins from running "out-of-process", you can "blacklist" each plugin by creating a new boolean preference dom.ipc.plugins.enabled.<filename> and setting its value to false. Filenames of specific plugins can be found in about:plugins and should be entered in lower-case. [9]

Flash plugin on Windows Vista and above

Starting in Firefox 14, Flash is force-enabled to run out-of-process in a plugin-container process on Windows Vista and above, because of stability issues when OOPP is disabled (bug 769721). [10] [11]

Java plugin on Windows

On Windows, the preference dom.ipc.plugins.java.enabled was added (starting in trunk builds after 10-15-2010) and is set to false by default, to prevent Java from running inside a plugin-container process because of stability issues when OOPP for Java is enabled (bug 603417). [12]

Plugin hang detector

In Firefox 3.6.4 and above, a plugin hang detector determines when an out-of-process plugin or plugin script has stopped responding, so that Firefox can terminate the plugin. The time period that must pass before the plugin is assumed to be locked up is set in the preference dom.ipc.plugins.timeoutSecs (the default is 45 seconds in Firefox 3.6.6). [13] When Firefox terminates a plugin that is no longer responding, you will see the "plugin has crashed" error dialog shown above. To prevent Firefox from terminating plugins it considers non-responsive, set dom.ipc.plugins.timeoutSecs to -1 in about:config. This disables the plugin hang detector but does not disable OOPP or stop "plugin-container" from running; to do that, you must set the dom.ipc.plugins.enabled.* preferences to "false" (see above).

See also

External links

Related bug reports