Bug 1517088 - Rename extensionSupport.jsm to ExtensionSupport.jsm; r=jorgk DONTBUILD
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 02 Jan 2019 22:40:15 +1300
changeset 33246 3104defb8252
parent 33245 e429ae02f1ea
child 33247 8b3e27530e40
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1517088
Bug 1517088 - Rename extensionSupport.jsm to ExtensionSupport.jsm; r=jorgk DONTBUILD
common/src/ExtensionSupport.jsm
common/src/extensionSupport.jsm
common/src/moz.build
mail/base/content/aboutAddonsExtra.js
mail/base/content/mailWindowOverlay.js
mail/components/extensions/ExtensionToolbarButtons.jsm
mail/components/extensions/parent/ext-legacy.js
mail/components/mailGlue.js
mail/components/preferences/preferences.js
rename from common/src/extensionSupport.jsm
rename to common/src/ExtensionSupport.jsm
--- a/common/src/moz.build
+++ b/common/src/moz.build
@@ -1,23 +1,23 @@
 # vim: set filetype=python:
 # 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/.
 
 EXTRA_JS_MODULES += [
     'BootstrapLoader.jsm',
     'ChromeManifest.jsm',
-    'extensionSupport.jsm',
+    'ExtensionSupport.jsm',
     'Overlays.jsm',
     'RDFManifestConverter.jsm',
 ]
 
 SOURCES += [
     'nsCommonModule.cpp',
     'nsComponentManagerExtra.cpp',
 ]
 
 LOCAL_INCLUDES += [
-  '/%s/netwerk/base' % CONFIG['mozreltopsrcdir']
+    '/%s/netwerk/base' % CONFIG['mozreltopsrcdir']
 ]
 
 FINAL_LIBRARY = 'xul'
--- a/mail/base/content/aboutAddonsExtra.js
+++ b/mail/base/content/aboutAddonsExtra.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/. */
 
 /* import-globals-from ../../../../toolkit/mozapps/extensions/content/extensions.js */
 
-const { ExtensionSupport } = ChromeUtils.import("resource:///modules/extensionSupport.jsm", null);
+ChromeUtils.import("resource:///modules/ExtensionSupport.jsm");
 
 gStrings.mailExt =
   Services.strings.createBundle("chrome://messenger/locale/extensionsOverlay.properties");
 
 (function() {
   window.isCorrectlySigned = function() { return true; };
 
   let contentStylesheet = document.createProcessingInstruction(
--- a/mail/base/content/mailWindowOverlay.js
+++ b/mail/base/content/mailWindowOverlay.js
@@ -22,17 +22,17 @@ ChromeUtils.import("resource:///modules/
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
 ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
 ChromeUtils.import("resource://gre/modules/AddonManager.jsm");
 
 ChromeUtils.defineModuleGetter(this, "BrowserToolboxProcess", "resource://devtools/client/framework/ToolboxProcess.jsm");
 ChromeUtils.defineModuleGetter(this, "ScratchpadManager", "resource://devtools/client/scratchpad/scratchpad-manager.jsm");
 ChromeUtils.defineModuleGetter(this, "ExtensionParent", "resource://gre/modules/ExtensionParent.jsm");
-ChromeUtils.defineModuleGetter(this, "ExtensionSupport", "resource:///modules/extensionSupport.jsm");
+ChromeUtils.defineModuleGetter(this, "ExtensionSupport", "resource:///modules/ExtensionSupport.jsm");
 Object.defineProperty(this, "HUDService", {
   get() {
     let { devtools } = ChromeUtils.import("resource://devtools/shared/Loader.jsm", null);
     return devtools.require("devtools/client/webconsole/hudservice").HUDService;
   },
   configurable: true,
   enumerable: true,
 });
--- a/mail/components/extensions/ExtensionToolbarButtons.jsm
+++ b/mail/components/extensions/ExtensionToolbarButtons.jsm
@@ -1,17 +1,17 @@
 /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
 /* vim: set sts=2 sw=2 et tw=80: */
 "use strict";
 
 this.EXPORTED_SYMBOLS = ["ToolbarButtonAPI"];
 
 ChromeUtils.defineModuleGetter(this, "Services", "resource://gre/modules/Services.jsm");
 ChromeUtils.defineModuleGetter(this, "ViewPopup", "resource:///modules/ExtensionPopups.jsm");
-ChromeUtils.defineModuleGetter(this, "ExtensionSupport", "resource:///modules/extensionSupport.jsm");
+ChromeUtils.defineModuleGetter(this, "ExtensionSupport", "resource:///modules/ExtensionSupport.jsm");
 ChromeUtils.import("resource://gre/modules/ExtensionCommon.jsm");
 ChromeUtils.import("resource://gre/modules/ExtensionUtils.jsm");
 ChromeUtils.import("resource://gre/modules/ExtensionParent.jsm");
 
 const {
   EventManager,
   ExtensionAPI,
   makeWidgetId,
--- a/mail/components/extensions/parent/ext-legacy.js
+++ b/mail/components/extensions/parent/ext-legacy.js
@@ -1,14 +1,14 @@
 /* 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/. */
 
 ChromeUtils.defineModuleGetter(this, "ChromeManifest", "resource:///modules/ChromeManifest.jsm");
-ChromeUtils.defineModuleGetter(this, "ExtensionSupport", "resource:///modules/extensionSupport.jsm");
+ChromeUtils.defineModuleGetter(this, "ExtensionSupport", "resource:///modules/ExtensionSupport.jsm");
 ChromeUtils.defineModuleGetter(this, "Overlays", "resource:///modules/Overlays.jsm");
 ChromeUtils.defineModuleGetter(this, "XPIInternal", "resource://gre/modules/addons/XPIProvider.jsm");
 
 Cu.importGlobalProperties(["fetch"]);
 
 var { ExtensionError } = ExtensionUtils;
 
 this.legacy = class extends ExtensionAPI {
--- a/mail/components/mailGlue.js
+++ b/mail/components/mailGlue.js
@@ -6,19 +6,17 @@
 "use strict";
 
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource://gre/modules/AddonManager.jsm");
 ChromeUtils.import("resource://gre/modules/LightweightThemeConsumer.jsm");
 ChromeUtils.import("resource:///modules/TBDistCustomizer.jsm");
 ChromeUtils.import("resource:///modules/MailMigrator.jsm");
-const {
-  ExtensionSupport,
-} = ChromeUtils.import("resource:///modules/extensionSupport.jsm", null);
+ChromeUtils.import("resource:///modules/ExtensionSupport.jsm");
 const { L10nRegistry, FileSource } = ChromeUtils.import("resource://gre/modules/L10nRegistry.jsm", null);
 
 // lazy module getters
 
 XPCOMUtils.defineLazyModuleGetters(this, {
   LightweightThemeManager: "resource://gre/modules/LightweightThemeManager.jsm",
 });
 
--- a/mail/components/preferences/preferences.js
+++ b/mail/components/preferences/preferences.js
@@ -1,16 +1,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/. */
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
-ChromeUtils.import("resource:///modules/extensionSupport.jsm");
+ChromeUtils.import("resource:///modules/ExtensionSupport.jsm");
 
 window.addEventListener("load", function() {
   let prefWindow = document.getElementById("MailPreferences");
   if (!Services.prefs.getBoolPref("mail.chat.enabled")) {
     let radio =
       document.getAnonymousElementByAttribute(prefWindow, "pane", "paneChat");
     if (radio.selected)
       prefWindow.showPane(document.getElementById("paneGeneral"));