Bug 1233888 - Convert to Promise.jsm in app validator. r=ochameau
authorJ. Ryan Stinnett <jryans@gmail.com>
Fri, 11 Dec 2015 12:16:04 -0500
changeset 278919 ec07d3e43a38957567af2316e9048d3914a5d5c0
parent 278918 72b88db55c8bf5489a0d2c3236d8be7917f04169
child 278920 b6b9c0012ba7bef84ffcf600791b079eba1e3713
push id69924
push usercbook@mozilla.com
push dateThu, 07 Jan 2016 11:20:40 +0000
treeherdermozilla-inbound@9768993a4e2b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1233888
milestone46.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 1233888 - Convert to Promise.jsm in app validator. r=ochameau
devtools/client/webide/modules/app-validator.js
--- a/devtools/client/webide/modules/app-validator.js
+++ b/devtools/client/webide/modules/app-validator.js
@@ -1,15 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 "use strict";
 
 var {Ci,Cu,CC} = require("chrome");
-const promise = require("devtools/shared/deprecated-sync-thenables");
+const promise = require("promise");
 
 const {FileUtils} = Cu.import("resource://gre/modules/FileUtils.jsm", {});
 const Services = require("Services");
 const {Task} = Cu.import("resource://gre/modules/Task.jsm", {});
 var XMLHttpRequest = CC("@mozilla.org/xmlextras/xmlhttprequest;1");
 var strings = Services.strings.createBundle("chrome://devtools/locale/app-manager.properties");
 
 function AppValidator({ type, location }) {