mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1198877 - Fix settings supports for mulet's simulators. r=jryans
This commit is contained in:
parent
55f86fd40a
commit
895e37599e
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user