Electrolysis/plugins: Difference between revisions

Line 2: Line 2:
== prefs system for timeouts ==
== prefs system for timeouts ==


No timeouts are set for DEBUG builds, see all.js
'''dom.ipc.plugins.timeoutSecs (45)''' How long a chrome to plugin synchronous IPC message is allowed to process before we consider it "hung".


How long a chrome to plugin synchronous IPC message is allowed to process before we consider it "hung".
'''dom.ipc.plugins.contentTimeoutSecs (10)''' How long a content to plugin synchronous IPC message is allowed to process before we notify the chrome process of a plugin hang.


dom.ipc.plugins.timeoutSecs = 45
'''dom.ipc.plugins.processLaunchTimeoutSecs (45)''' How long a plugin launch is allowed to take before we consider it failed.


How long a content to plugin synchronous IPC message is allowed to process before we notify the chrome process of a plugin hang.
'''dom.ipc.plugins.parentTimeoutSecs (0)''' How long a plugin process will wait for a response from the parent to a synchronous request before terminating itself. After this point the child assumes the parent is hung. Currently disabled.


dom.ipc.plugins.contentTimeoutSecs = 10
Windows specific


How long a plugin launch is allowed to take before we consider it failed.
'''dom.ipc.plugins.hangUITimeoutSecs (11)''' How long a chrome to plugin synchronous IPC message is allowed to process before we display the plugin hang UI.


dom.ipc.plugins.processLaunchTimeoutSecs = 45
'''dom.ipc.plugins.hangUIMinDisplaySecs (10)''' Minimum time that the plugin hang UI will be displayed.


// How long a plugin process will wait for a response from the parent to a synchronous request before terminating itself. After this point the child assumes the parent is hung. Currently disabled.
No timeouts are set for DEBUG builds, see all.js
 
dom.ipc.plugins.parentTimeoutSecs = 0
 
Windows specific:
 
How long a chrome to plugin synchronous IPC message is allowed to process before we display the plugin hang UI. Windows specific.
 
dom.ipc.plugins.hangUITimeoutSecs = 11
 
Minimum time that the plugin hang UI will be displayed.
 
dom.ipc.plugins.hangUIMinDisplaySecs = 10


== typical messaging deadlocks ==
== typical messaging deadlocks ==
Confirmed users
1,982

edits