diff --git a/b2g/chrome/content/shell.js b/b2g/chrome/content/shell.js index bfc29487f356..cb7227ce26fb 100644 --- a/b2g/chrome/content/shell.js +++ b/b2g/chrome/content/shell.js @@ -1065,13 +1065,13 @@ let RemoteDebugger = { if ("nsIProfiler" in Ci) { DebuggerServer.addActors("resource://gre/modules/devtools/server/actors/profiler.js"); } - DebuggerServer.addActors("resource://gre/modules/devtools/server/actors/styleeditor.js"); + DebuggerServer.registerModule("devtools/server/actors/inspector") + DebuggerServer.registerModule("devtools/server/actors/styleeditor"); DebuggerServer.enableWebappsContentActor = true; } DebuggerServer.addActors('chrome://browser/content/dbg-browser-actors.js'); DebuggerServer.addActors("resource://gre/modules/devtools/server/actors/webapps.js"); DebuggerServer.registerModule("devtools/server/actors/device"); - DebuggerServer.registerModule("devtools/server/actors/inspector") #ifdef MOZ_WIDGET_GONK DebuggerServer.onConnectionChange = function(what) {