Bug 1198877 - Fix settings supports for mulet's simulators. r=jryans

This commit is contained in:
Alexandre Poirot 2015-11-19 09:51:22 -08:00
parent 55f86fd40a
commit 895e37599e

View File

@ -393,8 +393,7 @@ var DebuggerServer = {
type: { global: true } type: { global: true }
}); });
} }
let win = Services.wm.getMostRecentWindow(DebuggerServer.chromeWindowType); if (Services.prefs.getBoolPref("dom.mozSettings.enabled")) {
if (win && win.navigator.mozSettings) {
this.registerModule("devtools/server/actors/settings", { this.registerModule("devtools/server/actors/settings", {
prefix: "settings", prefix: "settings",
constructor: "SettingsActor", constructor: "SettingsActor",