Mike Conley
65ab386408
Bug 1877196 - Move FeatureCallout modules and styles to browser/components/asrouter. r=fxview-reviewers,omc-reviewers,sclements,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D200514
2024-02-05 22:03:16 +00:00
Mike Conley
02fbf941fd
Bug 1877196 - Move ActorConstants.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers
...
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.
Differential Revision: https://phabricator.services.mozilla.com/D200087
2024-02-05 22:03:15 +00:00
Mike Conley
12a99679c5
Bug 1877196 - Move browser_asrouter tests to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200086
2024-02-05 22:03:15 +00:00
Mike Conley
77ec143b58
Bug 1877196 - Move InflightAssetsMessageProvider.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200085
2024-02-05 22:03:15 +00:00
Mike Conley
8721b41d40
Bug 1877196 - Move InfoBar.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200084
2024-02-05 22:03:14 +00:00
Mike Conley
00c7162ee1
Bug 1877196 - Move MomentsPageHub.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200083
2024-02-05 22:03:14 +00:00
Mike Conley
19a6e40b11
Bug 1877196 - Move ToolbarPanelHub.jsm to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200082
2024-02-05 22:03:13 +00:00
Mike Conley
6779808f9c
Bug 1877196 - Move ToolbarBadgeHub.jsm to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200081
2024-02-05 22:03:13 +00:00
Mike Conley
5ef0671ecd
Bug 1877196 - Move ToastNotification.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200080
2024-02-05 22:03:13 +00:00
Mike Conley
f8fd7026c8
Bug 1877196 - Move Spotlight.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D200079
2024-02-05 22:03:12 +00:00
negin
8b95c517d5
Bug 1867822 - Drop maximum code coverages in Karma to (at most) 80% r=omc-reviewers,dmose
...
Differential Revision: https://phabricator.services.mozilla.com/D199646
2024-02-02 16:18:37 +00:00
Mike Conley
2d464c57d2
Bug 1876104 - Convert ToastNotification.jsm to an ESM. r=amy
...
Differential Revision: https://phabricator.services.mozilla.com/D199424
2024-02-02 00:53:21 +00:00
Mike Conley
19be4cce46
Bug 1876104 - Convert Spotlight.jsm to an ESM. r=amy,emcminn
...
Differential Revision: https://phabricator.services.mozilla.com/D199421
2024-02-02 00:53:20 +00:00
Mike Conley
b9b51a5c5b
Bug 1876104 - Convert MomentsPageHub.jsm to an ESM. r=amy
...
Differential Revision: https://phabricator.services.mozilla.com/D199413
2024-02-02 00:53:17 +00:00
Mike Conley
2e36a2d107
Bug 1876104 - Convert InfoBar.jsm to an ESM. r=thecount,emcminn
...
Differential Revision: https://phabricator.services.mozilla.com/D199411
2024-02-02 00:53:16 +00:00
Mike Conley
ac224ed180
Bug 1876104 - Convert ActivityStreamStorage.jsm to an ESM. r=thecount
...
Differential Revision: https://phabricator.services.mozilla.com/D199406
2024-02-02 00:53:14 +00:00
Mike Conley
bbdde4f433
Bug 1876104 - Convert ActivityStream.jsm to an ESM. r=thecount,pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D199404
2024-02-02 00:53:13 +00:00
Mike Conley
c5da337999
Bug 1877202 - Move ModalOverlay back over to browser/components/newtab. r=thecount
...
This originally got moved as part of bug 1868838 because it was under
browser/components/newtab/content-src/asrouter/components - however,
pdahiya points out that this component was actually only ever used
by newtab, so it makes more sense living over there.
Differential Revision: https://phabricator.services.mozilla.com/D200391
2024-02-01 23:35:23 +00:00
Jason Prickett
9d00173995
Bug 1873793 - Add tail fox doodle set default spotlight for existing users to onboarding messages r=omc-reviewers,fluent-reviewers,flod,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D199442
2024-02-01 18:01:46 +00:00
Mike Conley
4e7e60308f
Bug 1868838 - Add missing xpcshell.toml file for browser/components/asrouter. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D199003
2024-01-29 18:52:30 +00:00
Mike Conley
8f99e01997
Bug 1868838 - Update ASRouter coverage expectations for ModalOverlay to match reality. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D199002
2024-01-29 18:52:29 +00:00
Mike Conley
7004f73fa1
Bug 1868838 - Move some missed tests, and update documentation for new ASRouter pathing. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D199001
2024-01-29 18:52:29 +00:00
Mike Conley
378c760146
Bug 1868838 - Move PanelTestProvider to browser/components/asrouter/modules. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198999
2024-01-29 18:52:28 +00:00
Mike Conley
ab18bd7d99
Bug 1868838 - Move OnboardingMessageProvider to browser/components/asrouter/modules. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198997
2024-01-29 18:52:28 +00:00
Mike Conley
ebad8072cd
Bug 1868838 - Move import-rollouts script into browser/components/asrouter. r=aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D198996
2024-01-29 18:52:28 +00:00
Mike Conley
c7eea981cf
Bug 1868838 - Move ASRouter unit test constants to browser/components/asrouter. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198956
2024-01-29 18:52:27 +00:00
Mike Conley
523d9e2457
Bug 1868838 - Move messaging schemas into browser/components/asrouter. r=pdahiya,barret
...
Differential Revision: https://phabricator.services.mozilla.com/D198955
2024-01-29 18:52:27 +00:00
Mike Conley
d7120d9f2d
Bug 1868838 - Move ASRouter docs into browser/components/asrouter. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198891
2024-01-29 18:52:25 +00:00
Mike Conley
7fc079d515
Bug 1868838 - Move template-utils into browser/components/asrouter. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198890
2024-01-29 18:52:24 +00:00
Mike Conley
efe999860a
Bug 1868838 - Move ImpressionsWrapper and ConditionalWrapper into browser/components/asrouter. r=pdahiya
...
These don't appear to be used anywhere, but moving them anyways.
Differential Revision: https://phabricator.services.mozilla.com/D198889
2024-01-29 18:52:24 +00:00
Mike Conley
ef3fd292cf
Bug 1868838 - Move asrouter-utils into browser/components/asrouter. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198883
2024-01-29 18:52:23 +00:00
Mike Conley
6dc4814bc3
Bug 1868838 - Move Button into into browser/components/asrouter. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198882
2024-01-29 18:52:23 +00:00
Mike Conley
0ae871c74e
Bug 1868838 - Move ModalOverlay into browser/components/asrouter. r=pdahiya
...
Previous patches in the stack had used asroutermodules as an alias to get
at browser/components/asrouter/modules. This patch, however, required adding
an alias to get at asrouter/content-src/components, so asroutermodules was
replaced with a top-level asrouter alias.
Differential Revision: https://phabricator.services.mozilla.com/D198881
2024-01-29 18:52:22 +00:00
Mike Conley
2d48d171fe
Bug 1868838 - Move RemoteL10n into browser/components/asrouter/modules. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198880
2024-01-29 18:52:22 +00:00
Mike Conley
0b6586aeb7
Bug 1868838 - Move CFRPageActions into browser/components/asrouter/modules. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198879
2024-01-29 18:52:22 +00:00
Mike Conley
efa49d50e5
Bug 1868838 - Move CFRMessageProvider into browser/components/asrouter/modules. r=pdahiya
...
This requires a change to aboutwelcome's karma webpack packaging so that
resources loaded at "resource:///modules/asrouter/X.sys.mjs" get remapped
to "asroutermodules/X.sys.mjs".
Differential Revision: https://phabricator.services.mozilla.com/D198878
2024-01-29 18:52:21 +00:00
Mike Conley
7165d99883
Bug 1868838 - Update babel-jsm-to-commonjs to allow for multiple replacements. r=dmose,omc-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D198877
2024-01-29 18:52:21 +00:00
Mike Conley
2271d9d285
Bug 1868838 - Move a bunch of ASRouter tests to browser/components/asrouter/tests/unit. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198875
2024-01-29 18:52:20 +00:00
Mike Conley
db503acdb4
Bug 1868838 - Move ASRouter into browser/components/asrouter/modules. r=pdahiya,pip-reviewers,fxview-reviewers,sclements
...
Differential Revision: https://phabricator.services.mozilla.com/D198874
2024-01-29 18:52:20 +00:00
Mike Conley
a16a529307
Bug 1868838 - Move ASRouterTargeting into browser/components/asrouter/modules. r=pdahiya,application-update-reviewers,barret,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D198873
2024-01-29 18:52:19 +00:00
Mike Conley
9dc80f4a0e
Bug 1868838 - Move ASRouterNewTabHook into browser/components/asrouter/modules. r=pdahiya
...
This causes the mocha/chai tests for newtab to break because of the failure
to import the ASRouterNewTabHook module from within ASRouterParent. This will
get fixed in the next patch in the stack which moves the actors.
Differential Revision: https://phabricator.services.mozilla.com/D198871
2024-01-29 18:52:19 +00:00
Mike Conley
9905c64575
Bug 1868838 - Move ASRouterParentProcessMessageHandler into browser/components/asrouter/modules. r=pdahiya
...
This also moves the ASRouterParentProcessMessageHandler mocha/chai unit test.
Differential Revision: https://phabricator.services.mozilla.com/D198870
2024-01-29 18:52:18 +00:00
Mike Conley
836ed402c0
Bug 1868838 - Move ASRouterPreferences into browser/components/asrouter/modules. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198869
2024-01-29 18:52:18 +00:00
Mike Conley
48f81be22c
Bug 1868838 - Move ASRouterTriggerListeners into browser/components/asrouter/modules. r=pdahiya
...
I'm moving the test as well.
Differential Revision: https://phabricator.services.mozilla.com/D198867
2024-01-29 18:52:17 +00:00
Mike Conley
5c43afe6bb
Bug 1868838 - Move ASRouterDefaultConfig into browser/components/asrouter/modules. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D198866
2024-01-29 18:52:16 +00:00
Gregory Pappas
8e0ae3e9ae
Bug 1872922 - Replace last few uses of XPCOMUtils.defineLazyGetter with ChromeUtils.defineLazyGetter and add linter error for XPCOMUtils.defineLazyGetter r=extension-reviewers,credential-management-reviewers,devtools-reviewers,Standard8,arai,robwu,Gijs,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D198677
2024-01-17 15:54:00 +00:00
Mark Banner
0e09ea855d
Bug 1787278 - Drop babel transpile plugins from newtab and related code. r=aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D197884
2024-01-10 17:39:29 +00:00
Mark Banner
fd7cb7d12a
Bug 1873010 - Remove chai-json-schema module from aboutwelcome/asrouter/newtab test code as it is not used. r=aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D197669
2024-01-07 22:10:13 +00:00
Mike Conley
54c3bfa7ae
Bug 1866802 - Move ASRouterAdmin test to browser/components/asrouter. r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D194812
2023-12-14 18:46:56 +00:00
Mike Conley
fe5402f48c
Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
...
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.
This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.
Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-14 18:46:55 +00:00