зеркало из https://github.com/mozilla/gecko-dev.git
Bug 988931 - Fix some race conditions in the devtools. r=ochameau
This commit is contained in:
Родитель
c0ebdb2389
Коммит
d45d0c2166
|
@ -9,6 +9,7 @@ let chromeGlobal = this;
|
|||
// Encapsulate in its own scope to allows loading this frame script
|
||||
// more than once.
|
||||
(function () {
|
||||
let Cu = Components.utils;
|
||||
let { devtools } = Cu.import("resource://gre/modules/devtools/Loader.jsm", {});
|
||||
const DevToolsUtils = devtools.require("devtools/toolkit/DevToolsUtils.js");
|
||||
const {DebuggerServer, ActorPool} = Cu.import("resource://gre/modules/devtools/dbg-server.jsm", {});
|
||||
|
|
|
@ -39,6 +39,7 @@ Cu.import("resource://gre/modules/reflect.jsm");
|
|||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
let wantLogging = Services.prefs.getBoolPref("devtools.debugger.log");
|
||||
|
||||
Cu.import("resource://gre/modules/commonjs/sdk/core/promise.js");
|
||||
Cu.import("resource://gre/modules/jsdebugger.jsm");
|
||||
addDebuggerToGlobal(this);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче