Electrolysis/plugins: Difference between revisions

Line 4: Line 4:
No timeouts are set for DEBUG builds, see all.js
No timeouts are set for DEBUG builds, see all.js


// How long a chrome to plugin synchronous IPC message is allowed to process
How long a chrome to plugin synchronous IPC message is allowed to process before we consider it "hung".
// before we consider it "hung".


dom.ipc.plugins.timeoutSecs = 45
dom.ipc.plugins.timeoutSecs = 45


// How long a content to plugin synchronous IPC message is allowed to process
How long a content to plugin synchronous IPC message is allowed to process before we notify the chrome process of a plugin hang.
// before we notify the chrome process of a plugin hang.


dom.ipc.plugins.contentTimeoutSecs = 10
dom.ipc.plugins.contentTimeoutSecs = 10


// How long a plugin launch is allowed to take before we consider it
How long a plugin launch is allowed to take before we consider it failed.
// failed.


dom.ipc.plugins.processLaunchTimeoutSecs = 45
dom.ipc.plugins.processLaunchTimeoutSecs = 45


// How long a plugin process will wait for a response from the parent
// 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.
// to a synchronous request before terminating itself. After this
// point the child assumes the parent is hung. Currently disabled.


dom.ipc.plugins.parentTimeoutSecs = 0
dom.ipc.plugins.parentTimeoutSecs = 0


// Windows specific:
Windows specific:
// -----------------


// How long a chrome to plugin synchronous IPC message is allowed to process
How long a chrome to plugin synchronous IPC message is allowed to process before we display the plugin hang UI. Windows specific.
// before we display the plugin hang UI. Windows specific.


dom.ipc.plugins.hangUITimeoutSecs = 11
dom.ipc.plugins.hangUITimeoutSecs = 11


// Minimum time that the plugin hang UI will be displayed.
Minimum time that the plugin hang UI will be displayed.


dom.ipc.plugins.hangUIMinDisplaySecs = 10
dom.ipc.plugins.hangUIMinDisplaySecs = 10
Confirmed users
1,982

edits