Skip to content

Commit

Permalink
Bug 1797888 - Relocate AppUpdater.jsm to toolkit/mozapps/update. r=na…
Browse files Browse the repository at this point in the history
…lexander,application-update-reviewers,bytesized

Thunderbird now has an identical copy of AppUpdater.jsm in its repository. Moving it into
toolkit will make ongoing maintenance easier.

Differential Revision: https://phabricator.services.mozilla.com/D161718
  • Loading branch information
jfx2006 committed Nov 9, 2022
1 parent aa0e32e commit 8417e21
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion browser/base/content/aboutDialog-appUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ChromeUtils.defineESModuleGetters(this, {
});

XPCOMUtils.defineLazyModuleGetters(this, {
AppUpdater: "resource:///modules/AppUpdater.jsm",
AppUpdater: "resource://gre/modules/AppUpdater.jsm",
DownloadUtils: "resource://gre/modules/DownloadUtils.jsm",
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
});

XPCOMUtils.defineLazyModuleGetters(lazy, {
AppUpdater: "resource:///modules/AppUpdater.jsm",
AppUpdater: "resource://gre/modules/AppUpdater.jsm",
BrowserWindowTracker: "resource:///modules/BrowserWindowTracker.jsm",
Sanitizer: "resource:///modules/Sanitizer.jsm",
});
Expand Down
1 change: 0 additions & 1 deletion browser/modules/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]

EXTRA_JS_MODULES += [
"AboutNewTab.jsm",
"AppUpdater.jsm",
"AsyncTabSwitcher.jsm",
"BrowserUIUtils.jsm",
"BrowserUsageTelemetry.jsm",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
});

XPCOMUtils.defineLazyModuleGetters(lazy, {
AppUpdater: "resource:///modules/AppUpdater.jsm",
AppUpdater: "resource://gre/modules/AppUpdater.jsm",
ExtensionUtils: "resource://gre/modules/ExtensionUtils.jsm",
});

Expand Down
1 change: 1 addition & 0 deletions toolkit/mozapps/update/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ EXTRA_COMPONENTS += [
]

EXTRA_JS_MODULES += [
"AppUpdater.jsm",
"UpdateListener.jsm",
"UpdateService.jsm",
"UpdateServiceStub.jsm",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"use strict";

XPCOMUtils.defineLazyModuleGetters(this, {
AppUpdater: "resource:///modules/AppUpdater.jsm",
AppUpdater: "resource://gre/modules/AppUpdater.jsm",
sinon: "resource://testing-common/Sinon.jsm",
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"use strict";

XPCOMUtils.defineLazyModuleGetters(this, {
AppUpdater: "resource:///modules/AppUpdater.jsm",
AppUpdater: "resource://gre/modules/AppUpdater.jsm",
sinon: "resource://testing-common/Sinon.jsm",
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"use strict";

XPCOMUtils.defineLazyModuleGetters(this, {
AppUpdater: "resource:///modules/AppUpdater.jsm",
AppUpdater: "resource://gre/modules/AppUpdater.jsm",
sinon: "resource://testing-common/Sinon.jsm",
});

Expand Down
2 changes: 1 addition & 1 deletion tools/esmify/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
"resource:///modules/AboutNewTab.jsm": "browser/modules/AboutNewTab.jsm",
"resource:///modules/AboutNewTabService.jsm":
"browser/components/newtab/AboutNewTabService.jsm",
"resource:///modules/AppUpdater.jsm": "browser/modules/AppUpdater.jsm",
"resource://gre/modules/AppUpdater.jsm": "toolkit/mozapps/update/AppUpdater.jsm",
"resource:///modules/AsyncTabSwitcher.jsm":
"browser/modules/AsyncTabSwitcher.jsm",
"resource:///modules/AttributionCode.jsm":
Expand Down

0 comments on commit 8417e21

Please sign in to comment.