Bug 1954435 - switch uitour to use moz-src, r=omc-reviewers,firefox-desktop-core-reviewers ,aminomancer,mconley
Differential Revision: https://phabricator.services.mozilla.com/D241795
This commit is contained in:
@@ -91,7 +91,7 @@ ChromeUtils.defineESModuleGetters(this, {
|
||||
TelemetryEnvironment: "resource://gre/modules/TelemetryEnvironment.sys.mjs",
|
||||
ToolbarContextMenu: "resource:///modules/ToolbarContextMenu.sys.mjs",
|
||||
TranslationsParent: "resource://gre/actors/TranslationsParent.sys.mjs",
|
||||
UITour: "resource:///modules/UITour.sys.mjs",
|
||||
UITour: "moz-src:///browser/components/uitour/UITour.sys.mjs",
|
||||
UpdateUtils: "resource://gre/modules/UpdateUtils.sys.mjs",
|
||||
URILoadingHelper: "resource:///modules/URILoadingHelper.sys.mjs",
|
||||
UrlbarInput: "resource:///modules/UrlbarInput.sys.mjs",
|
||||
|
||||
@@ -924,10 +924,10 @@ let JSWINDOWACTORS = {
|
||||
|
||||
UITour: {
|
||||
parent: {
|
||||
esModuleURI: "resource:///modules/UITourParent.sys.mjs",
|
||||
esModuleURI: "moz-src:///browser/components/uitour/UITourParent.sys.mjs",
|
||||
},
|
||||
child: {
|
||||
esModuleURI: "resource:///modules/UITourChild.sys.mjs",
|
||||
esModuleURI: "moz-src:///browser/components/uitour/UITourChild.sys.mjs",
|
||||
events: {
|
||||
mozUITour: { wantUntrusted: true },
|
||||
},
|
||||
|
||||
@@ -17,7 +17,7 @@ let { UIState } = ChromeUtils.importESModule(
|
||||
);
|
||||
|
||||
ChromeUtils.defineESModuleGetters(this, {
|
||||
UITour: "resource:///modules/UITour.sys.mjs",
|
||||
UITour: "moz-src:///browser/components/uitour/UITour.sys.mjs",
|
||||
});
|
||||
|
||||
const DECKINDEX_TABS = 0;
|
||||
|
||||
@@ -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/. */
|
||||
|
||||
import { UITour } from "resource:///modules/UITour.sys.mjs";
|
||||
import { UITour } from "moz-src:///browser/components/uitour/UITour.sys.mjs";
|
||||
|
||||
export class UITourParent extends JSWindowActorParent {
|
||||
receiveMessage(message) {
|
||||
|
||||
@@ -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/.
|
||||
|
||||
EXTRA_JS_MODULES += ["UITour.sys.mjs", "UITourChild.sys.mjs", "UITourParent.sys.mjs"]
|
||||
MOZ_SRC_FILES += ["UITour.sys.mjs", "UITourChild.sys.mjs", "UITourParent.sys.mjs"]
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
"test/browser.toml",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* global gTestTab:true, gContentAPI:true, tests:false */
|
||||
|
||||
ChromeUtils.defineESModuleGetters(this, {
|
||||
UITour: "resource:///modules/UITour.sys.mjs",
|
||||
UITour: "moz-src:///browser/components/uitour/UITour.sys.mjs",
|
||||
});
|
||||
|
||||
const { PermissionTestUtils } = ChromeUtils.importESModule(
|
||||
|
||||
@@ -24,7 +24,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
|
||||
// eslint-disable-next-line mozilla/no-browser-refs-in-toolkit
|
||||
Spotlight: "resource:///modules/asrouter/Spotlight.sys.mjs",
|
||||
UIState: "resource://services-sync/UIState.sys.mjs",
|
||||
UITour: "resource:///modules/UITour.sys.mjs",
|
||||
UITour: "moz-src:///browser/components/uitour/UITour.sys.mjs",
|
||||
});
|
||||
|
||||
export const SpecialMessageActions = {
|
||||
|
||||
Reference in New Issue
Block a user