backout Bug 1121406 which enabled WebSocket in Workers in beta, a=abillings
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 19 Mar 2015 01:46:56 +0200
changeset 250431 f0a0d5d2d525
parent 250430 470cd8c739c5
child 250432 caf324dbb13f
push id4587
push useropettay@mozilla.com
push date2015-03-18 23:59 +0000
treeherdermozilla-beta@f0a0d5d2d525 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersabillings
bugs1121406
milestone37.0
backout Bug 1121406 which enabled WebSocket in Workers in beta, a=abillings
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -130,17 +130,21 @@ pref("dom.indexedDB.logging.profiler-mar
 pref("dom.workers.enabled", true);
 // The number of workers per domain allowed to run concurrently.
 pref("dom.workers.maxPerDomain", 20);
 
 // Whether or not Shared Web Workers are enabled.
 pref("dom.workers.sharedWorkers.enabled", true);
 
 // WebSocket in workers are disabled by default.
+#ifdef RELEASE_BUILD
+pref("dom.workers.websocket.enabled", false);
+#else
 pref("dom.workers.websocket.enabled", true);
+#endif
 
 // Service workers
 pref("dom.serviceWorkers.enabled", false);
 
 // Whether nonzero values can be returned from performance.timing.*
 pref("dom.enable_performance", true);
 
 // Whether resource timing will be gathered and returned by performance.GetEntries*