Revert "[PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu"

This reverts commit 6fde853fa8276926f30c7135bdd5f68de3afc35a.
This commit is contained in:
NTD 2018-04-12 06:16:44 -04:00 • committed by Roy Tam
commit ce786e442d
4 changed files with 9 additions and 3 deletions

View file

@ -10,6 +10,10 @@
* have been properly initialized already. * have been properly initialized already.
*/ */
let Cc = Components.classes;
let Ci = Components.interfaces;
let Cu = Components.utils;
// Services = object with smart getters for common XPCOM services // Services = object with smart getters for common XPCOM services
Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/Services.jsm");

View file

@ -3,7 +3,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # 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/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
let Cc = Components.classes;
let Ci = Components.interfaces; let Ci = Components.interfaces;
let Cu = Components.utils; let Cu = Components.utils;

View file

@ -1,3 +1,6 @@
let Cc = Components.classes;
let Ci = Components.interfaces;
let Cu = Components.utils;
Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/XPCOMUtils.jsm");
var padlock_PadLock = var padlock_PadLock =

View file

@ -20,8 +20,8 @@
<script type="application/javascript"><![CDATA[ <script type="application/javascript"><![CDATA[
// TODO: Bug 406371. // TODO: Bug 406371.
// A bunch of browser code depends on us defining these, sad but true :( // A bunch of browser code depends on us defining these, sad but true :(
// var Cc = Components.classes; var Cc = Components.classes;
// var Ci = Components.interfaces; var Ci = Components.interfaces;
var Cr = Components.results; var Cr = Components.results;
Components.utils.import("resource://gre/modules/PlacesUtils.jsm"); Components.utils.import("resource://gre/modules/PlacesUtils.jsm");