Bug 1084955 - Remove redeclaration of Cu. r=fabrice
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Sat, 18 Oct 2014 05:58:00 +0200
changeset 211308 eb9c0b46ccf5ce6ed7cdf8def6fec144a5c01b5a
parent 211307 d8d3ce3b2cb7140ae792a50da2722d6ba18e96c2
child 211309 2764dc71106f45cf6178c8040a53773e57bee2c6
push id50691
push userkwierso@gmail.com
push dateTue, 21 Oct 2014 02:08:21 +0000
treeherdermozilla-inbound@0808729b24e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfabrice
bugs1084955
milestone36.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 1084955 - Remove redeclaration of Cu. r=fabrice The Cu const is already defined by settings.js when adb.js is included by shell.html. We should not redefine it.
b2g/chrome/content/devtools/adb.js
--- a/b2g/chrome/content/devtools/adb.js
+++ b/b2g/chrome/content/devtools/adb.js
@@ -3,18 +3,16 @@
 /* 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";
 
 // This file is only loaded on Gonk to manage ADB state
 
-const { utils: Cu } = Components;
-
 const DEBUG = false;
 var debug = function(str) {
   dump("AdbController: " + str + "\n");
 }
 
 let AdbController = {
   locked: undefined,
   remoteDebuggerEnabled: undefined,