Bug 943517 - Remove the deprecated-sync-thenables from the debugger server;r=jlong
authorEddy Bruel <ejpbruel@mozilla.com>
Mon, 14 Sep 2015 17:43:38 +0200
changeset 296683 420dbb1751fc26c5f0b9b9efe871bbe05e478cf4
parent 296682 8b20e934953aab0213110fb3c6c5330a96e9d0c2
child 296684 6d24b09bb144e0449c8c75008cd136a50760601c
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlong
bugs943517
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 943517 - Remove the deprecated-sync-thenables from the debugger server;r=jlong
toolkit/devtools/server/actors/script.js
--- a/toolkit/devtools/server/actors/script.js
+++ b/toolkit/devtools/server/actors/script.js
@@ -15,17 +15,17 @@ const DevToolsUtils = require("devtools/
 const { dbg_assert, dumpn, update, fetch } = DevToolsUtils;
 const { dirname, joinURI } = require("devtools/toolkit/path");
 const promise = require("promise");
 const PromiseDebugging = require("PromiseDebugging");
 const xpcInspector = require("xpcInspector");
 const ScriptStore = require("./utils/ScriptStore");
 const { DevToolsWorker } = require("devtools/toolkit/shared/worker.js");
 
-const { defer, resolve, reject, all } = require("devtools/toolkit/deprecated-sync-thenables");
+const { defer, resolve, reject, all } = promise;
 
 loader.lazyGetter(this, "Debugger", () => {
   let Debugger = require("Debugger");
   hackDebugger(Debugger);
   return Debugger;
 });
 loader.lazyRequireGetter(this, "SourceMapConsumer", "source-map", true);
 loader.lazyRequireGetter(this, "SourceMapGenerator", "source-map", true);