Bug 1121406 - Enable WebSocket-in-Workers by default in release builds. r=smaug, a=lmandel
authorAndrea Marchesini <amarchesini@mozilla.com>
Wed, 14 Jan 2015 12:50:06 +0000
changeset 249311 70b496db3ef0a1d6ed73a43a0d7296b9f6fdbf3e
parent 249310 a977d85d7c55bf21fc5c0c0b0d06ea8a7587ac6c
child 249312 413456263ee262e1663b8cd96c95de890f65bf93
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, lmandel
bugs1121406
milestone37.0a2
Bug 1121406 - Enable WebSocket-in-Workers by default in release builds. r=smaug, a=lmandel
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -130,21 +130,17 @@ 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*