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 }
});
}
let win = Services.wm.getMostRecentWindow(DebuggerServer.chromeWindowType);
if (win && win.navigator.mozSettings) {
if (Services.prefs.getBoolPref("dom.mozSettings.enabled")) {
this.registerModule("devtools/server/actors/settings", {
prefix: "settings",
constructor: "SettingsActor",