Bug 1564105 - Enable WS Monitor in Nightly. r=Honza
☠☠ backed out by 920ebfd35011 ☠ ☠
authortanhengyeow <E0032242@u.nus.edu>
Tue, 16 Jul 2019 19:48:56 +0000
changeset 483020 b1a964205023bdb3ef2f7cc11b912eca7da0c5a7
parent 483019 ab9dfd8e9360d3c4f01d7912e3928ed36e3641f7
child 483021 bbfdc264f3e0ec3b5a6a19760fdb7bb7a82b8c94
push id90136
push userjodvarko@mozilla.com
push dateTue, 16 Jul 2019 19:49:39 +0000
treeherderautoland@b1a964205023 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza
bugs1564105
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1564105 - Enable WS Monitor in Nightly. r=Honza Enable WS Monitor in Nightly Differential Revision: https://phabricator.services.mozilla.com/D38230
devtools/client/preferences/devtools-client.js
--- a/devtools/client/preferences/devtools-client.js
+++ b/devtools/client/preferences/devtools-client.js
@@ -184,18 +184,22 @@ pref("devtools.netmonitor.har.defaultFil
 pref("devtools.netmonitor.har.jsonp", false);
 pref("devtools.netmonitor.har.jsonpCallback", "");
 pref("devtools.netmonitor.har.includeResponseBodies", true);
 pref("devtools.netmonitor.har.compress", false);
 pref("devtools.netmonitor.har.forceExport", false);
 pref("devtools.netmonitor.har.pageLoadedTimeout", 1500);
 pref("devtools.netmonitor.har.enableAutoExportToFile", false);
 
-// Support for WebSocket monitoring pref (pending complete implementation)
+// Enable WebSocket monitoring in Nightly builds.
+#if defined(NIGHTLY_BUILD)
+pref("devtools.netmonitor.features.webSockets", true);
+#else
 pref("devtools.netmonitor.features.webSockets", false);
+#endif
 
 // Scratchpad settings
 // - recentFileMax: The maximum number of recently-opened files
 //                  stored. Setting this preference to 0 will not
 //                  clear any recent files, but rather hide the
 //                  'Open Recent'-menu.
 // - lineNumbers: Whether to show line numbers or not.
 // - wrapText: Whether to wrap text or not.