Commit Graph

316 Commits

Author SHA1 Message Date
Mark Banner
81c86b200c Bug 1834204 - Update more consumers to import ES modules directly. r=kpatenio,geckoview-reviewers,whimboo,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D178590
2023-05-26 11:36:33 +00:00
Mark Banner
0666077666 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Shane Hughes
aa7d407c55 Bug 1830422 - Add 5 placeholder FxMS features for 114+, r=aminomancer
One from the JIRA Roadmap, and 4 more, so the total buffer size is 5.

Differential Revision: https://phabricator.services.mozilla.com/D176725
2023-05-05 16:44:30 +00:00
hanna alemu
2ac6135d00 Bug 1816511 - Allow messaging about:welcome users by screen usage r=omc-reviewers,pdahiya,jprickett,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D172836
2023-05-02 13:53:07 +00:00
Mathew Hodson
5a881a3345 Bug 1828563 - Update consumers to use FeatureManifest ESM. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D175725
2023-04-24 09:54:19 +00:00
Barret Rennie
06caa2cfbd Bug 1827718 - Serialize arrays correctly in ASRouter targeting r=nalexander,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D175287
2023-04-13 19:11:06 +00:00
anwar
c8fd3502e2 Bug 1816938 - Convert services/settings/utils.jsm to ES modules. r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D173134
2023-04-13 16:22:54 +00:00
William Durand
24e0c2ceb0 Bug 1826763 - Remove unused observer of the "webextension-install-notify" topic. r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D174890
2023-04-11 07:24:21 +00:00
Barret Rennie
f7a4fadf48 Bug 1788954 - Convert toolkit/components/nimbus to ES modules r=Standard8,pip-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D172850
2023-03-30 20:51:58 +00:00
Abhishek Tiwari
496a43cc06 Bug 1821624 - Convert toolkit/components/messaging-system to ES modules r=Standard8,fxview-reviewers,omc-reviewers,aminomancer,sclements
Differential Revision: https://phabricator.services.mozilla.com/D172406
2023-03-15 18:44:02 +00:00
Shane Hughes
3d2d5cd25f Bug 1819456 - Update ASRouter messages when experiment recipes are updated. r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D171939
2023-03-14 02:53:27 +00:00
Norisz Fay
daed151636 Backed out changeset 8d5e4dfff15e (bug 1819456) for causing xpcshell failures on test_RemoteSettingsExperimentLoader.js 2023-03-14 04:15:21 +02:00
Shane Hughes
6721e45b2a Bug 1819456 - Update ASRouter messages when experiment recipes are updated. r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D171939
2023-03-14 00:45:52 +00:00
Dan Mosedale
6113925a22 Bug 1821816 - Remove unneeded placeholder features, r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D172345
2023-03-11 17:56:05 +00:00
Dan Mosedale
95029f0901 Bug 1821242 - add placeholder FxMS features for 112+, r=omc-reviewers,aminomancer
Adding placeholder feature ids expected to be needed for 112+ deployments to a couple of static lists.

Differential Revision: https://phabricator.services.mozilla.com/D172087
2023-03-10 04:37:41 +00:00
Shane Hughes
b5b861e02c Bug 1817319 - Add messagesLoaded trigger. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D170263
2023-03-09 20:47:02 +00:00
Barret Rennie
db39ad4910 Bug 1820918 - Remove RemoteImages.jsm r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D171942
2023-03-08 02:44:46 +00:00
Cosmin Sabou
346961f7f2 Backed out changeset e8e4b29af858 (bug 1817319) for causing bc failures on browser_newtab_trigger.js. CLOSED TREE 2023-03-08 02:24:59 +02:00
Shane Hughes
a91b2414aa Bug 1817319 - Add messagesLoaded trigger. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D170263
2023-03-07 22:32:43 +00:00
Barret Rennie
975ae348dd Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-06 20:10:55 +00:00
Sandor Molnar
ffa80a3221 Backed out 4 changesets (bug 1805511, bug 1805509) for causing bc and xpc failures. CLOSED TREE
Backed out changeset 31a8dcad0d88 (bug 1805509)
Backed out changeset 3dd1735b85fa (bug 1805509)
Backed out changeset 87641a6eee2b (bug 1805509)
Backed out changeset e5bd4ad558f2 (bug 1805511)
2023-03-02 23:26:06 +02:00
Barret Rennie
716e5614da Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-02 20:33:21 +00:00
Sandor Molnar
5ace18f79f Backed out 4 changesets (bug 1805509, bug 1805511) for causing node newtab failures. CLOSED TREE
Backed out changeset 1c1d335d4ef5 (bug 1805509)
Backed out changeset 0bf2579bccd7 (bug 1805509)
Backed out changeset a87f459f2caa (bug 1805509)
Backed out changeset ae16a9890f22 (bug 1805511)
2023-03-02 21:03:45 +02:00
Barret Rennie
7d6f95873a Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-02 18:27:13 +00:00
Shane Hughes
ff74b1e79b Bug 1804480 - Support multi-message treatment branches in desktop experiments. r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D169540
2023-02-23 21:39:15 +00:00
Shane Hughes
095143b123 Bug 1808441 - Add Cookie Banner Promo on PB new tab. r=omc-reviewers,flod,pdahiya,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D165924
2023-02-18 01:14:11 +00:00
Mark Banner
9f14e3dc03 Bug 1816934 - Update consumers of services/settings to import ES modules directly. r=leplatrem,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D169934
2023-02-17 19:32:06 +00:00
Cristian Tuns
b9ee007450 Backed out 6 changesets (bug 1816934, bug 1817182, bug 1817179, bug 1817183) for causing dt failures in browser_jsterm_autocomplete_null.js CLOSED TREE
Backed out changeset 17d4c013ed92 (bug 1817183)
Backed out changeset cfed8d9c23f3 (bug 1817183)
Backed out changeset 62fe2f589efe (bug 1817182)
Backed out changeset 557bd773fb85 (bug 1817179)
Backed out changeset 7f8a7865868b (bug 1816934)
Backed out changeset d6c1d4c0d2a0 (bug 1816934)
2023-02-17 10:51:33 -05:00
Mark Banner
60c0009ad6 Bug 1816934 - Update consumers of services/settings to import ES modules directly. r=leplatrem,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D169934
2023-02-17 09:01:43 +00:00
elephanteatsapple
0ad4eadcd9 Bug 1812141 - Convert JSMs in browser/components/attribution to ESMs. r=mconley,kpatenio,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D167730
2023-02-15 21:40:30 +00:00
Marian-Vasile Laza
4f6b335406 Backed out changeset 0d0223fcdc02 (bug 1812141) for xpcshelll failures on test_ClientEnvironment.js. CLOSED TREE 2023-02-13 20:34:22 +02:00
elephanteatsapple
62845ac0d3 Bug 1812141 - Convert JSMs in browser/components/attribution to ESMs. r=mconley,kpatenio,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D167730
2023-02-13 16:32:41 +00:00
Dan Mosedale
a6442a7cb2 Bug 1816009 - add new messaging system feature ids for 111, r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D169395
2023-02-10 03:53:42 +00:00
Dan Mosedale
8089ad99f2 Bug 1809331 - add generic fxms-message-* feature-ids, r=omc-reviewers,emcminn,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D166397
2023-01-27 18:17:21 +00:00
Mark Banner
00abf03e4f Bug 1808202 - Convert newtab DeDupe.jsm, ActorConstants.jsm and Actions.jsm to ES modules and update imports. r=Mardak
Depends on D165820

Differential Revision: https://phabricator.services.mozilla.com/D165821
2023-01-05 09:58:30 +00:00
Dan Mosedale
225ebe9580 Bug 1805470 - FxMS should save impressions to all groups in a message, r=barret
Differential Revision: https://phabricator.services.mozilla.com/D164626
2022-12-19 21:14:37 +00:00
Dan Mosedale
8694ce326a Bug 1805471 - add ASRouter impression debug logging, r=emcminn
Adds impression debug logging to ASRouter .

Differential Revision: https://phabricator.services.mozilla.com/D164728
2022-12-15 21:11:31 +00:00
Mark Banner
5dad366a3e Bug 1803911 - Automatically replace Cu.reportError with console.error (newtab), and manually fix tests. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D163770
2022-12-08 16:21:28 +00:00
Iulian Moraru
e4cb785520 Backed out 3 changesets (bug 1801092) for causing newtab failures.
Backed out changeset 9153de956154
Backed out changeset 9df9c279c28d (bug 1801092)
Backed out changeset 7323c7444941 (bug 1801092)
2022-11-30 00:28:42 +02:00
Otto Länd
dbb211d8a1 No bug: apply code formatting via Lando
# ignore-this-changeset
2022-11-29 21:46:36 +00:00
Barret Rennie
d1a2566d45 Bug 1541508 - Use Services.env in browser/ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D160136
2022-11-25 19:09:06 +00:00
Shane Hughes
8ceb90e910 Bug 1800087 - Fix ASRouter references to RS collections. r=barret
ASRouter's remote message providers were written to include a property
to specify the desired collection on the Remote Settings Kinto server.
But this property was mistakenly labeled `bucket` in many places. This
could be confusing because Kinto storage is organized by both buckets
and collections, with buckets being a higher level of organization and
collections belonging to buckets. Each individual message provider
specifies a collection like "cfr", while the bucket is set by the router
code ("main"). This carried over to everything that interacted with the
providers, so this patch effectively replaces every reference to a
"message provider bucket" with "message provider collection." But more
importantly, provider definitions are stored as JSON strings in
preference values, so these definitions erroneously contained key-value
pairs like `bucket: "cfr"` which should have been `collection: "cfr"`.
That means the pref values themselves must be migrated to ensure that
modified prefs continue to work. Existing tests are updated and a new
test is added for the migrator, to meet minimum coverage requirements.
Documentation is also updated to reflect the correct property name.

Differential Revision: https://phabricator.services.mozilla.com/D162067
2022-11-17 18:32:13 +00:00
Cristian Tuns
c3ffdd5df6 Backed out 19 changesets (bug 1541508) for causing xpcshell failures on test_notHeadlessByDefault.js CLOSED TREE
Backed out changeset 08476fa2bc27 (bug 1541508)
Backed out changeset 0bf7514845db (bug 1541508)
Backed out changeset aa612a5e9ef7 (bug 1541508)
Backed out changeset 6bb9360473f7 (bug 1541508)
Backed out changeset b3d8e92f50c2 (bug 1541508)
Backed out changeset fa40dded133e (bug 1541508)
Backed out changeset 2e7db4aa8d4f (bug 1541508)
Backed out changeset 6098e2eb62ea (bug 1541508)
Backed out changeset 2c599ee639c4 (bug 1541508)
Backed out changeset 7d44f6e2644c (bug 1541508)
Backed out changeset c1279c3d674c (bug 1541508)
Backed out changeset 8bd08a62a590 (bug 1541508)
Backed out changeset 740010cb005c (bug 1541508)
Backed out changeset 0bfc7dd85c62 (bug 1541508)
Backed out changeset c4374a351356 (bug 1541508)
Backed out changeset 44ccfeca7364 (bug 1541508)
Backed out changeset e944e706a523 (bug 1541508)
Backed out changeset 2c59d66f43e4 (bug 1541508)
Backed out changeset a1896eacb6f1 (bug 1541508)
2022-11-01 22:38:52 -04:00
Barret Rennie
813aae1553 Bug 1541508 - Use Services.env in browser/ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D160136
2022-11-02 02:08:53 +00:00
Punam Dahiya
3187d5e5cb Bug 1753746 - PBM messaging devtool integration r=pdahiya,mconley
Differential Revision: https://phabricator.services.mozilla.com/D145808
2022-10-31 15:21:56 +00:00
Dan Mosedale
b307d5a622 Bug 1797553 - Add fxms-message-1 to default FxMS features, r=negin
Differential Revision: https://phabricator.services.mozilla.com/D160402
2022-10-26 21:22:58 +00:00
Barret Rennie
b1df109588 Bug 1797202 - Ingest messages from Nimbus rollouts in ASRouter r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D160263
2022-10-26 19:00:03 +00:00
Punam Dahiya
7137aedad9 Bug 1795037 - Fix filter of messages in ASRouter state after using PBM r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D160125
2022-10-26 03:15:40 +00:00
Mark Banner
5407bdffa8 Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Barret Rennie
13c6e5729b Bug 1776326 - Prefetch Remote Images when enrolling in experiments r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D151353
2022-07-27 14:33:43 +00:00