Bug 1487572 - Rename mailServices.js to MailServices.jsm. r=mkmelin
--HG-- rename : mailnews/base/util/mailServices.js => mailnews/base/util/MailServices.jsm extra : rebase_source : 7ecd648075015c893ae9c8e4860541744261557c
This commit is contained in:
Родитель
40bbbccc92
Коммит
3e7829922b
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
const { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "cal", "resource://calendar/modules/calUtils.jsm", "cal");
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
ChromeUtils.import("resource://gre/modules/Preferences.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
const { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "cal", "resource://calendar/modules/calUtils.jsm", "cal");
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
const { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Preferences.jsm");
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
var { cal } = ChromeUtils.import("resource://calendar/modules/calUtils.jsm", null);
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// XXX Need to determine which of these we really need here.
|
||||
var { cal } = ChromeUtils.import("resource://calendar/modules/calUtils.jsm", null);
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
// gTabmail is null if we are in a dialog window and not in a tab.
|
||||
var gTabmail = document.getElementById("tabmail") || null;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
var { fixIterator } = ChromeUtils.import("resource:///modules/iteratorUtils.jsm", null);
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
var { cal } = ChromeUtils.import("resource://calendar/modules/calUtils.jsm", null);
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
const { cal } = ChromeUtils.import("resource://calendar/modules/calUtils.jsm", null);
|
||||
const { recurrenceRule2String } = ChromeUtils.import("resource://calendar/modules/calRecurrenceUtils.jsm", null);
|
||||
ChromeUtils.import("resource://gre/modules/Preferences.jsm");
|
||||
const { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
this.EXPORTED_SYMBOLS = ["ltn"]; /* exported ltn */
|
||||
var ltn = {};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
const { ltn } = ChromeUtils.import("resource://calendar/modules/ltnInvitationUtils.jsm", null);
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Preferences.jsm");
|
||||
|
||||
function run_test() {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource:///modules/ABQueryUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var gFilterListMsgWindow = null;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var editContactInlineUI = {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
ChromeUtils.import("resource:///modules/folderUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
ChromeUtils.import("resource:///modules/IOUtils.js");
|
||||
ChromeUtils.import("resource:///modules/FeedUtils.jsm");
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</content>
|
||||
<implementation>
|
||||
<constructor><![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
]]></constructor>
|
||||
<!-- Indicate that we are based on a fulltext search-->
|
||||
<method name="setFulltext">
|
||||
|
@ -1507,7 +1507,7 @@
|
|||
</content>
|
||||
<implementation>
|
||||
<constructor><![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
this.build();
|
||||
]]></constructor>
|
||||
<method name="build">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
// Load and add the menu item to the OS X Dock icon menu.
|
||||
addEventListener("load", function() {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* consisting of folder pane, thread pane and message pane.
|
||||
*/
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var mailtolength = 7;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|||
ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/CharsetMenu.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "gViewSourceUtils", function() {
|
||||
let scope = {};
|
||||
|
|
|
@ -1301,7 +1301,7 @@
|
|||
</method>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
]]>
|
||||
</constructor>
|
||||
</implementation>
|
||||
|
@ -1629,7 +1629,7 @@
|
|||
</property>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm", this);
|
||||
initializeTermFromId(this.id);
|
||||
]]>
|
||||
|
@ -1703,7 +1703,7 @@
|
|||
</property>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm", this);
|
||||
]]>
|
||||
</constructor>
|
||||
|
@ -2118,7 +2118,7 @@
|
|||
</method>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm", this);
|
||||
|
||||
// initialize strings
|
||||
|
@ -2610,7 +2610,7 @@
|
|||
</method>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm", this);
|
||||
]]>
|
||||
</constructor>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/appIdleManager.js");
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
ChromeUtils.import("resource:///modules/FeedUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/gloda/dbview.js");
|
||||
ChromeUtils.import("resource:///modules/MailConsts.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/displayNameUtils.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/gloda/utils.js");
|
||||
var {Status: statusUtils} =
|
||||
ChromeUtils.import("resource:///modules/imStatusUtils.jsm");
|
||||
|
|
|
@ -11,7 +11,7 @@ ChromeUtils.import("resource:///modules/jsTreeSelection.js");
|
|||
ChromeUtils.import("resource:///modules/MailConsts.js");
|
||||
ChromeUtils.import("resource:///modules/mailInstrumentation.js");
|
||||
ChromeUtils.import("resource:///modules/mailnewsMigrator.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/msgDBCacheManager.js");
|
||||
ChromeUtils.import("resource:///modules/sessionStoreManager.js");
|
||||
ChromeUtils.import("resource:///modules/summaryFrameManager.js");
|
||||
|
|
|
@ -7,7 +7,7 @@ ChromeUtils.import("resource:///modules/gloda/gloda.js");
|
|||
ChromeUtils.import("resource:///modules/gloda/connotent.js");
|
||||
ChromeUtils.import("resource:///modules/gloda/mimemsg.js");
|
||||
ChromeUtils.import("resource:///modules/displayNameUtils.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/templateUtils.js");
|
||||
|
||||
var gMessenger = Cc["@mozilla.org/messenger;1"]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var dialog;
|
||||
|
|
|
@ -6,7 +6,7 @@ var EXPORTED_SYMBOLS = ["MailUtils"];
|
|||
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/MailConsts.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
this.EXPORTED_SYMBOLS = ['DBViewWrapper', 'IDBViewWrapperListener'];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailViewManager.js");
|
||||
ChromeUtils.import("resource:///modules/searchSpec.js");
|
||||
ChromeUtils.import("resource:///modules/virtualFolderWrapper.js");
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/StringBundle.js");
|
||||
|
||||
var EXPORTED_SYMBOLS = [
|
||||
|
|
|
@ -14,7 +14,7 @@ var nsIMFNService = Ci.nsIMsgFolderNotificationService;
|
|||
|
||||
ChromeUtils.import("resource:///modules/errUtils.js");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
Cu.importGlobalProperties(["XMLHttpRequest"]);
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
var EXPORTED_SYMBOLS = ["MailMigrator"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/IOUtils.js");
|
||||
|
||||
ChromeUtils.defineModuleGetter(this, "LoginHelper",
|
||||
|
|
|
@ -11,7 +11,7 @@ ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
|
|||
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/errUtils.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/searchSpec.js");
|
||||
|
||||
var nsMsgSearchAttrib = Ci.nsMsgSearchAttrib;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
this.EXPORTED_SYMBOLS = ['SearchSpec'];
|
||||
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var nsMsgSearchScope = Ci.nsMsgSearchScope;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://testing-common/mailnews/mailTestUtils.js");
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/activity/alertHook.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://testing-common/mailnews/MockFactory.js");
|
||||
alertHook.init();
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ load("../../../../mailnews/resources/messageInjection.js");
|
|||
|
||||
load("resources/viewWrapperTestUtils.js");
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
initViewWrapperTestUtils({mode: "imap", offline: false});
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ ChromeUtils.import("resource://gre/modules/Troubleshoot.jsm");
|
|||
ChromeUtils.import("resource://gre/modules/ResetProfile.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
|
||||
// added for TB
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
// end of TB addition
|
||||
|
||||
ChromeUtils.defineModuleGetter(this, "PluralForm",
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* @return - the account created.
|
||||
*/
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
/* eslint-disable complexity */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/hostnameUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/OAuth2Providers.jsm");
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* Params @see fetchConfigFromISP()
|
||||
*/
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/JXON.js");
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
* The ex.message will contain a user-presentable message.
|
||||
*/
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/OAuth2Providers.jsm");
|
||||
|
||||
if (typeof gEmailWizardLogger == "undefined") {
|
||||
|
|
|
@ -9,7 +9,7 @@ var nsActWarning = Components.Constructor("@mozilla.org/activity-warning;1",
|
|||
"nsIActivityWarning", "init");
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
// This module provides a link between the send later service and the activity
|
||||
|
|
|
@ -14,7 +14,7 @@ var nsActWarning = Components.Constructor("@mozilla.org/activity-warning;1",
|
|||
var nsMsgFolderFlags = Ci.nsMsgFolderFlags;
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
ChromeUtils.import("resource:///modules/gloda/log4moz.js");
|
||||
|
|
|
@ -13,7 +13,7 @@ var nsActWarning = Components.Constructor("@mozilla.org/activity-warning;1",
|
|||
"nsIActivityWarning", "init");
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
ChromeUtils.import("resource:///modules/gloda/log4moz.js");
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var kNonVcardFields =
|
||||
["NickNameContainer", "SecondaryEmailContainer", "ScreenNameContainer",
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
// toolkit/content/globalOverlay.js
|
||||
/* globals goUpdateCommand */
|
||||
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/IOUtils.js");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/FileUtils.jsm");
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*/
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/IOUtils.js");
|
||||
|
||||
// Tree Sort helper methods.
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
// Ensure the activity modules are loaded for this window.
|
||||
ChromeUtils.import("resource:///modules/activity/activityModules.js");
|
||||
ChromeUtils.import("resource:///modules/ABQueryUtils.jsm");
|
||||
var { MailServices } = ChromeUtils.import("resource:///modules/mailServices.js", null);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Preferences.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
|
|
@ -14,7 +14,7 @@ ChromeUtils.import("resource:///modules/mimeParser.jsm");
|
|||
ChromeUtils.import("resource:///modules/errUtils.js");
|
||||
ChromeUtils.import("resource:///modules/folderUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
ChromeUtils.import("resource://gre/modules/InlineSpellChecker.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
top.MAX_RECIPIENTS = 1; /* for the initial listitem created in the XUL */
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource:///modules/imServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var PREF_EXTENSIONS_GETMOREPROTOCOLSURL = "extensions.getMoreProtocolsURL";
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
ChromeUtils.import("resource:///modules/imServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/DownloadUtils.jsm");
|
||||
|
||||
// This is the list of notifications that the account manager window observes
|
||||
|
|
|
@ -6,7 +6,7 @@ this.EXPORTED_SYMBOLS = ["allContacts", "onlineContacts", "ChatCore"];
|
|||
|
||||
ChromeUtils.import("resource:///modules/imServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var allContacts = {};
|
||||
var onlineContacts = {};
|
||||
|
|
|
@ -12,7 +12,7 @@ ChromeUtils.import("resource:///modules/gloda/indexer.js");
|
|||
ChromeUtils.import("resource:///modules/imServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/imXPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/FileUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/NetUtil.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
|
|
@ -7,7 +7,7 @@ ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
|||
ChromeUtils.import("resource://gre/modules/NetUtil.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/PluralForm.jsm");
|
||||
ChromeUtils.import("resource:///modules/StringBundle.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/gloda/log4moz.js");
|
||||
|
||||
// Get a configured logger for this component.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
ChromeUtils.import("resource://gre/modules/NetUtil.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var nsISupports = Ci.nsISupports;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
window.addEventListener("load", function () {
|
||||
let prefWindow = document.getElementById("MailPreferences");
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
ChromeUtils.import("resource:///modules/gloda/log4moz.js");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://testing-common/mailnews/mailTestUtils.js");
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailViewManager.js");
|
||||
|
||||
// these constants are now authoritatively defined in mailViewManager.js (above)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
// Account encryption policy values:
|
||||
// const kEncryptionPolicy_Never = 0;
|
||||
|
|
|
@ -9,7 +9,7 @@ var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
|
|||
"account-manager-helpers", "keyboard-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
|
|
|
@ -15,7 +15,7 @@ var MODULE_REQUIRES = ['address-book-helpers', 'folder-display-helpers',
|
|||
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var abController = null;
|
||||
var addrBook1, addrBook2, addrBook3, addrBook4;
|
||||
|
|
|
@ -13,7 +13,7 @@ var RELATIVE_ROOT = '../shared-modules';
|
|||
var MODULE_REQUIRES = ['address-book-helpers',
|
||||
'folder-display-helpers',];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
function setupModule(module) {
|
||||
collector.getModule('folder-display-helpers').installInto(module);
|
||||
|
|
|
@ -17,7 +17,7 @@ var MODULE_REQUIRES = ['folder-display-helpers',
|
|||
'window-helpers'];
|
||||
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import('resource:///modules/mailServices.js');
|
||||
ChromeUtils.import('resource:///modules/MailServices.jsm');
|
||||
|
||||
var kUploadedFile = "attachment-uploaded";
|
||||
var kHtmlPrefKey = "mail.identity.default.compose_html";
|
||||
|
|
|
@ -18,7 +18,7 @@ var MODULE_REQUIRES = ["folder-display-helpers",
|
|||
"keyboard-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var kBoxId = "attachmentNotificationBox";
|
||||
var kNotificationId = "attachmentReminder";
|
||||
|
|
|
@ -21,7 +21,7 @@ var MODULE_REQUIRES = [
|
|||
var os = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/osfile.jsm");
|
||||
|
||||
var gOutboxFolder;
|
||||
|
|
|
@ -18,7 +18,7 @@ var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
|
|||
var os = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/mimeParser.jsm");
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
|
|
|
@ -15,7 +15,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers", "compose-helpers"];
|
||||
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var gDrafts;
|
||||
var gOutbox;
|
||||
|
|
|
@ -15,7 +15,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
|
||||
"compose-helpers", "notificationbox-helpers"];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
|
||||
var gDrafts;
|
||||
|
|
|
@ -16,7 +16,7 @@ var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
|
|||
"window-helpers", "notificationbox-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var kBoxId = "msgNotificationBar";
|
||||
var draftsFolder;
|
||||
|
|
|
@ -15,7 +15,7 @@ var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers", "compose-help
|
|||
|
||||
var os = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
var os = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
var os = {};
|
||||
|
|
|
@ -15,7 +15,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
|
||||
"compose-helpers"];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers", "compose-help
|
|||
var os = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/mimeParser.jsm");
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
|
|
|
@ -13,7 +13,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULE_REQUIRES = ["folder-display-helpers",
|
||||
"window-helpers", "compose-helpers"];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var gInbox;
|
||||
var gDrafts;
|
||||
|
|
|
@ -25,7 +25,7 @@ var myEmail2 = "otherme@example.com";
|
|||
var identity;
|
||||
var identity2;
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
function setupModule(module) {
|
||||
collector.getModule("folder-display-helpers").installInto(module);
|
||||
|
|
|
@ -14,7 +14,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var os = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
|
||||
|
|
|
@ -33,7 +33,7 @@ var os = {};
|
|||
ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
|
||||
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var folder = null;
|
||||
var gMsgNo = 0;
|
||||
|
|
|
@ -16,7 +16,7 @@ var MODULE_REQUIRES = ["folder-display-helpers",
|
|||
"window-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/IOUtils.js");
|
||||
|
||||
var statusHeader = "X-Mozilla-Status: ";
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* don't get updated when we archive.
|
||||
*/
|
||||
ChromeUtils.import("resource:///modules/MailUtils.js");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var MODULE_NAME = 'test-recent-menu';
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ var RELATIVE_ROOT = '../shared-modules';
|
|||
var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
|
||||
"nntp-helpers"];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var nntpAccount;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ var MODULE_NAME = 'test-folder-pane';
|
|||
var RELATIVE_ROOT = '../shared-modules';
|
||||
var MODULE_REQUIRES = ['folder-display-helpers'];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
function setupModule(module) {
|
||||
collector.getModule('folder-display-helpers').installInto(module);
|
||||
|
|
|
@ -28,7 +28,7 @@ function setupFolderMode(aWindow) {
|
|||
let testFolderTreeMode = {
|
||||
__proto__: aWindow.IFolderTreeMode,
|
||||
generateMap: function(aFTV) {
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
// Pick the tinderbox@foo.invalid inbox and use it as the only folder
|
||||
let server = MailServices.accounts.FindServer("tinderbox", "tinderbox123", "pop3");
|
||||
let item = new aWindow.ftvItem(server.rootFolder.getChildNamed("Inbox"));
|
||||
|
|
|
@ -17,7 +17,7 @@ var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
|
|||
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var folder, folderMore;
|
||||
|
|
|
@ -7,7 +7,7 @@ var MODULE_NAME = "test-commands";
|
|||
var RELATIVE_ROOT = "../shared-modules";
|
||||
var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
var elib = {};
|
||||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
var os = {};
|
||||
|
|
|
@ -11,7 +11,7 @@ var MODULE_NAME = "test-display-names";
|
|||
var RELATIVE_ROOT = "../shared-modules";
|
||||
var MODULE_REQUIRES = ["folder-display-helpers", "address-book-helpers"];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var folder;
|
||||
|
|
|
@ -20,7 +20,7 @@ var elib = {};
|
|||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import('resource:///modules/iteratorUtils.jsm');
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("chrome://mozmill/content/stdlib/httpd.js");
|
||||
|
||||
// RELATIVE_ROOT messes with the collector, so we have to bring the path back
|
||||
|
|
|
@ -8,7 +8,7 @@ var RELATIVE_ROOT = '../shared-modules';
|
|||
var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
// Our global folder variables...
|
||||
|
|
|
@ -7,7 +7,7 @@ var MODULE_NAME = "address-book-helpers";
|
|||
var RELATIVE_ROOT = "../shared-modules";
|
||||
var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
|
||||
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var ABMDB_PREFIX = "moz-abmdbdirectory://";
|
||||
|
|
|
@ -23,7 +23,7 @@ ChromeUtils.import("resource:///modules/gloda/log4moz.js");
|
|||
|
||||
var nsMsgViewIndex_None = 0xffffffff;
|
||||
ChromeUtils.import('resource:///modules/MailConsts.js');
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import('resource:///modules/MailUtils.js');
|
||||
ChromeUtils.import('resource:///modules/mailViewManager.js');
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
|
|
@ -12,7 +12,7 @@ var elib = {};
|
|||
ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
|
||||
ChromeUtils.import('resource://gre/modules/Services.jsm');
|
||||
ChromeUtils.import('resource:///modules/iteratorUtils.jsm');
|
||||
ChromeUtils.import('resource:///modules/mailServices.js');
|
||||
ChromeUtils.import('resource:///modules/MailServices.jsm');
|
||||
ChromeUtils.import('resource://gre/modules/XPCOMUtils.jsm');
|
||||
|
||||
var mc, fdh, kbh, dh;
|
||||
|
|
|
@ -8,7 +8,7 @@ var RELATIVE_ROOT = "../shared-modules";
|
|||
var MODULES_REQUIRES = ["folder-display-helpers", "window-helpers"];
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
var kSimpleNewsArticle =
|
||||
"From: John Doe <john.doe@example.com>\n"+
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
ChromeUtils.import("resource:///modules/mailServices.js", this);
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm", this);
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm", this);
|
||||
ChromeUtils.import("resource:///modules/StringBundle.js", this);
|
||||
this._stringBundle = new this
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/hostnameUtils.jsm");
|
||||
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
|
||||
// Listener to refresh the list items if something changes. In all these
|
||||
// cases we just rebuild the list as it is easier than searching/adding in the
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
function nsAbAutoCompleteMyDomain() {}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
ChromeUtils.import("resource:///modules/mailServices.js");
|
||||
ChromeUtils.import("resource:///modules/MailServices.jsm");
|
||||
ChromeUtils.import("resource:///modules/ABQueryUtils.jsm");
|
||||
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче