summaryrefslogtreecommitdiff
path: root/modules/libpref
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-16 06:40:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-16 06:42:42 +0000
commit65bf6489d60c50c3c36dd11d1fd6a6359950f16f (patch)
treeae72f280e457cdf433040c05d8c575ac0453d96a /modules/libpref
parente9f86e09c545ebde23d97a89f42bd3a1fd6ac1bd (diff)
downloadaura-central-65bf6489d60c50c3c36dd11d1fd6a6359950f16f.tar.gz
Revert "Issue mcp-graveyard/UXP%1695 - Add clamping to websocket polling timeouts."
As of [da0c073a7] we no longer need this workaround because the issue is avoided with proper sleep/wake logic restored. This reverts commit 2fa993b5639e04c7e1d7403ecf9175a223ce50b4.
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 8fcebed74..b6af98863 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1660,11 +1660,6 @@ pref("network.websocket.timeout.open", 20);
// close message
pref("network.websocket.timeout.close", 20);
-// Setting this to true will clamp the websocket timeout value to a minimum
-// regardless if there are pending events on the thread.
-// This is a workaround for runaway polling, see issue #1695
-pref("network.websocket.timeout.clamped", false);
-
// the number of seconds of idle read activity to sustain before sending a
// ping probe. 0 to disable.
pref("network.websocket.timeout.ping.request", 0);