Bug 1000428 - Part 1: Drive WiFi UI option visibility from pref. r=janx

This commit is contained in:
J. Ryan Stinnett 2014-07-14 12:11:00 -04:00
parent 1ca53f97de
commit 542992e388
2 changed files with 7 additions and 0 deletions

View File

@ -657,6 +657,9 @@ let settingsToObserve = {
defaultValue: false
},
'devtools.eventlooplag.threshold': 100,
'devtools.remote.wifi.visible': {
resetToPref: true
},
'dom.mozApps.use_reviewer_certs': false,
'layers.draw-borders': false,
'layers.draw-tile-borders': false,

View File

@ -654,6 +654,10 @@ pref("devtools.dump.emit", false);
pref("devtools.discovery.log", false);
// Disable scanning for DevTools devices via WiFi
pref("devtools.remote.wifi.scan", false);
// Hide UI options for controlling device visibility over WiFi
// N.B.: This does not set whether the device can be discovered via WiFi, only
// whether the UI control to make such a choice is shown to the user
pref("devtools.remote.wifi.visible", false);
// view source
pref("view_source.syntax_highlight", true);