|
@@ -1,7 +1,7 @@
|
|
|
# HG changeset patch
|
|
|
# User Frank-Rainer Grahl <frgrahl@gmx.net>
|
|
|
# Date 1697896645 -7200
|
|
|
-# Parent 11b7e82644e532b9b586828e6951318f3076677f
|
|
|
+# Parent a4cfb863b9ac0d4e5c063e167aa286ec614c9b61
|
|
|
Bug 1859386 - Initialize the l10n registry for toolkit fluent translations only. r=me a=me
|
|
|
|
|
|
No others in sight yet.
|
|
@@ -9,7 +9,26 @@ No others in sight yet.
|
|
|
diff --git a/mail/components/mailGlue.js b/mail/components/mailGlue.js
|
|
|
--- a/mail/components/mailGlue.js
|
|
|
+++ b/mail/components/mailGlue.js
|
|
|
-@@ -67,19 +67,20 @@ MailGlue.prototype = {
|
|
|
+@@ -3,16 +3,18 @@
|
|
|
+ * 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/XPCOMUtils.jsm");
|
|
|
+ ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
+ ChromeUtils.import("resource://gre/modules/AddonManager.jsm");
|
|
|
+ ChromeUtils.import("resource:///modules/distribution.js");
|
|
|
+ ChromeUtils.import("resource:///modules/mailMigrator.js");
|
|
|
++ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
|
|
|
++
|
|
|
+ const { L10nRegistry, FileSource } = ChromeUtils.import("resource://gre/modules/L10nRegistry.jsm", {});
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Glue code that should be executed before any windows are opened. Any
|
|
|
+ * window-independent helper methods (a la nsBrowserGlue.js) should go in
|
|
|
+ * MailUtils.js instead.
|
|
|
+ */
|
|
|
+
|
|
|
+@@ -67,19 +69,20 @@ MailGlue.prototype = {
|
|
|
//nsIMailGlue implementation
|
|
|
sanitize: function MG_sanitize(aParentWindow) {
|
|
|
this._sanitizer.sanitize(aParentWindow);
|