Move more ASRouter modules to browser/components/asrouter
Categories
(Firefox :: Messaging System, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
Attachments
(11 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
In bug 1868838, I missed a few modules:
- Spotlight: "resource://activity-stream/lib/Spotlight.jsm"
- ToastNotification: "resource://activity-stream/lib/ToastNotification.jsm"
- ToolbarBadgeHub: "resource://activity-stream/lib/ToolbarBadgeHub.jsm"
- ToolbarPanelHub: "resource://activity-stream/lib/ToolbarPanelHub.jsm"
- MomentsPageHub: "resource://activity-stream/lib/MomentsPageHub.jsm"
- InfoBar: "resource://activity-stream/lib/InfoBar.jsm"
- ActorConstants: "resource://activity-stream/common/ActorConstants.sys.mjs" (see this comment)
- InflightAssetsMessageProvider: "resource://testing-common/InflightAssetsMessageProvider.sys.mjs" (see this comment)
If I discover more, I'll update the above list.
Updated•8 months ago
|
Assignee | ||
Comment 1•8 months ago
|
||
All of the browser_asrouter tests under browser/components/newtab/test/browser also need to be moved.
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 2•8 months ago
|
||
Assignee | ||
Comment 3•8 months ago
|
||
Assignee | ||
Comment 4•8 months ago
|
||
Assignee | ||
Comment 5•8 months ago
|
||
Assignee | ||
Comment 6•8 months ago
|
||
Assignee | ||
Comment 7•8 months ago
|
||
Assignee | ||
Comment 8•8 months ago
|
||
Assignee | ||
Comment 9•8 months ago
|
||
Assignee | ||
Comment 10•8 months ago
|
||
We import the ActorConstants into the ASRouter unit-entry.js script because
ASRouterChild.sys.mjs loads ActorConstants.sys.mjs, and the ResourceUriPlugin
that does the rewriting for the Karma tests doesn't understand how to do
remapping outside of the newtab folder.
So instead of trying to hack that capability into ResourceUriPlugin, we
just import the ActorConstants into the Karma global scope.
Comment 12•8 months ago
|
||
I think the following modules in newtab/lib should be in the asrouter or aboutwelcome directory:
FeatureCalloutBroker.sys.mjs
FeatureCalloutMessages.sys.mjs
PageEventManager.sys.mjs
We can also move FeatureCallout.sys.mjs from browser/modules
to asrouter now. The reason we put it there previously was because we didn't want to add more stuff to the newtab directory that had nothing to do with newtab. But now that we have our own directories, it makes sense to keep all the Feature Callout files together.
We can move styles from browser/components/newtab/content-src/styles
to asrouter as well:
_feature-callout-theme.scss
_feature-callout.scss
_shopping.scss
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 13•8 months ago
|
||
Assignee | ||
Comment 14•8 months ago
|
||
Updated•8 months ago
|
Updated•8 months ago
|
Comment 15•8 months ago
|
||
Comment 16•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d7e0311ce3a3
https://hg.mozilla.org/mozilla-central/rev/41e516a4f474
https://hg.mozilla.org/mozilla-central/rev/a2a5866599fd
https://hg.mozilla.org/mozilla-central/rev/c88a794e2c4a
https://hg.mozilla.org/mozilla-central/rev/3a82add91978
https://hg.mozilla.org/mozilla-central/rev/212cdeb74d29
https://hg.mozilla.org/mozilla-central/rev/8264fa2061de
https://hg.mozilla.org/mozilla-central/rev/7e7b0e89be14
https://hg.mozilla.org/mozilla-central/rev/6d8e81032058
https://hg.mozilla.org/mozilla-central/rev/575a584147b1
https://hg.mozilla.org/mozilla-central/rev/885e7a23a077
Comment 17•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d7e0311ce3a3
https://hg.mozilla.org/mozilla-central/rev/41e516a4f474
https://hg.mozilla.org/mozilla-central/rev/a2a5866599fd
https://hg.mozilla.org/mozilla-central/rev/c88a794e2c4a
https://hg.mozilla.org/mozilla-central/rev/3a82add91978
https://hg.mozilla.org/mozilla-central/rev/212cdeb74d29
https://hg.mozilla.org/mozilla-central/rev/8264fa2061de
https://hg.mozilla.org/mozilla-central/rev/7e7b0e89be14
https://hg.mozilla.org/mozilla-central/rev/6d8e81032058
https://hg.mozilla.org/mozilla-central/rev/575a584147b1
https://hg.mozilla.org/mozilla-central/rev/885e7a23a077
Comment 18•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d7e0311ce3a3
https://hg.mozilla.org/mozilla-central/rev/41e516a4f474
https://hg.mozilla.org/mozilla-central/rev/a2a5866599fd
https://hg.mozilla.org/mozilla-central/rev/c88a794e2c4a
https://hg.mozilla.org/mozilla-central/rev/3a82add91978
https://hg.mozilla.org/mozilla-central/rev/212cdeb74d29
https://hg.mozilla.org/mozilla-central/rev/8264fa2061de
https://hg.mozilla.org/mozilla-central/rev/7e7b0e89be14
https://hg.mozilla.org/mozilla-central/rev/6d8e81032058
https://hg.mozilla.org/mozilla-central/rev/575a584147b1
https://hg.mozilla.org/mozilla-central/rev/885e7a23a077
Description
•