summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/secondscreen/SimpleServiceDiscovery.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules/secondscreen/SimpleServiceDiscovery.jsm')
-rw-r--r--toolkit/modules/secondscreen/SimpleServiceDiscovery.jsm5
1 files changed, 1 insertions, 4 deletions
diff --git a/toolkit/modules/secondscreen/SimpleServiceDiscovery.jsm b/toolkit/modules/secondscreen/SimpleServiceDiscovery.jsm
index cf9617ea1..4abc93ad1 100644
--- a/toolkit/modules/secondscreen/SimpleServiceDiscovery.jsm
+++ b/toolkit/modules/secondscreen/SimpleServiceDiscovery.jsm
@@ -186,10 +186,7 @@ var SimpleServiceDiscovery = {
},
_searchFixedDevices: function _searchFixedDevices() {
- let fixedDevices = null;
- try {
- fixedDevices = Services.prefs.getCharPref("browser.casting.fixedDevices");
- } catch (e) {}
+ let fixedDevices = Services.prefs.getCharPref("browser.casting.fixedDevices", "");
if (!fixedDevices) {
return;