Commit Graph

1473 Commits

Author SHA1 Message Date
Emily McMinn
5b66a7abf9 Bug 1811069 - Remove pre-MR strings and CSS, update tests r=omc-reviewers,aminomancer,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D168978
2023-02-24 17:32:53 +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
DJ
e25b4a85ea Bug 1816688 - independently configure CBH doorhanger retargeting delay via Nimbus. r=omc-reviewers,mviar,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D170249
2023-02-23 20:07:27 +00:00
Gijs Kruitbosch
69b27ae717 Bug 1817443 - remove openUILinkIn entirely and rename fromChrome, r=mossop,extension-reviewers,rpl
'fromChrome' really meant "force tabs to open in the foreground", so let's
rename it accordingly.

This removes the attempt to document arguments for openUILinkIn.
I'll add documentation back on the end of this stack, for openLinkIn, when
various bits are reorganized anyway.

Differential Revision: https://phabricator.services.mozilla.com/D170384
2023-02-23 17:02:43 +00:00
Cristina Horotan
acc6a18e5e Backed out 5 changesets (bug 1817443) for newtab failure CLOSED TREE
Backed out changeset ba33c510d008 (bug 1817443)
Backed out changeset 07e3bccaeb6d (bug 1817443)
Backed out changeset 2b39dee42948 (bug 1817443)
Backed out changeset a74a52e93af4 (bug 1817443)
Backed out changeset 827855beb033 (bug 1817443)
2023-02-23 17:30:23 +02:00
Gijs Kruitbosch
2fbd8150f1 Bug 1817443 - remove openUILinkIn entirely and rename fromChrome, r=mossop,extension-reviewers,rpl
'fromChrome' really meant "force tabs to open in the foreground", so let's
rename it accordingly.

This removes the attempt to document arguments for openUILinkIn.
I'll add documentation back on the end of this stack, for openLinkIn, when
various bits are reorganized anyway.

Depends on D170210

Differential Revision: https://phabricator.services.mozilla.com/D170384
2023-02-23 14:49:28 +00:00
Csoregi Natalia
c7e9b86f7c Backed out changeset 5496888b745b (bug 1816688) for newtab failures on NimbusFeatures. CLOSED TREE 2023-02-23 01:37:45 +02:00
DJ
231cf3a38b Bug 1816688 - independently configure CBH doorhanger retargeting delay via Nimbus. r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D170249
2023-02-22 20:53: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
Mark Banner
81e5d26ac3 Bug 1817183 - Update consumers of services/fxaccounts to import ES modules directly. r=markh,settings-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D170062
2023-02-17 16:34:43 +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
c8baa7a866 Bug 1817183 - Update consumers of services/fxaccounts to import ES modules directly. r=markh,settings-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D170062
2023-02-17 09:01:45 +00: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
Jared Hirsch
7525c4f1ef Bug 1816464 - Decouple pref state from Nimbus experiment state for cookie banner handling. r=barret,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D169837
2023-02-16 19:44:45 +00:00
Daisuke Akatsuka
0302d5462e Bug 1817094: Remove Ci.nsINavBookmarkObserver reference from PlacesFeed r=mak
Differential Revision: https://phabricator.services.mozilla.com/D170013
2023-02-16 14:09:27 +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
Daisuke Akatsuka
6a04c74e82 Bug 1733045: Remove nsINavBookmarkObserver. r=mak
Depends on D169583

Differential Revision: https://phabricator.services.mozilla.com/D131754
2023-02-15 00:29:13 +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
DJ
d80b74a41b Bug 1800678 - enable nimbus experimentation for CBH doorhanger. r=barret,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D169150
2023-02-08 17:36:18 +00:00
hanna alemu
33657f726d Bug 1768730 - [Cleanup] Remove legacy spotlight messaging surface r=Mardak,fluent-reviewers,desktop-theme-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D165254
2023-02-06 22:36:28 +00:00
Mark Banner
bffb763c63 Bug 1815224 - Migrate newtab's Reducers.jsm to ES modules. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D168955
2023-02-06 19:11:48 +00:00
Chris H-C
7a3d63a7e6 Bug 1814922 - Instrument PingCentre successes/failures by namespace r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D168842
2023-02-03 21:48:16 +00:00
Jared Hirsch
29ce012c89 Bug 1814907 - Add a RELOAD_BROWSER SpecialMessageAction. r=omc-reviewers,aminomancer
* Use the new RELOAD_BROWSER action to reload the page after the
  user chooses to enable cookie banner handling via the CFR onboarding
  doorhanger. This allows the user to see the cookie banner disappear
  after enabling the feature.

* Also change the doorhanger configuration to make the onboarding
  doorhanger persist until the user interacts with it.

Differential Revision: https://phabricator.services.mozilla.com/D168822
2023-02-03 18:29:51 +00:00
Travis Long
e04f138b53 Bug 1811561 - Add a test Glean event to validate the Server Knobs functionality. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D168578
2023-02-02 19:48:18 +00:00
Cristian Tuns
0d1ab03a6e Backed out changeset 6298c18b6129 (bug 1811561) for causing node failures CLOSED TREE 2023-02-02 10:05:30 -05:00
Travis Long
1b82aa4268 Bug 1811561 - Add a test Glean event to validate the Server Knobs functionality. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D168578
2023-02-02 14:09:57 +00:00
scottdowne
6dedfa0f20 Bug 1814247 - Pocket newtab fixing Spain locale code for supported newtab Pocket stories. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D168573
2023-02-01 18:28:44 +00:00
DJ
46796f9251 Bug 1813555 - corrections for CBH doorhanger. r=omc-reviewers,fluent-reviewers,aminomancer,flod
Differential Revision: https://phabricator.services.mozilla.com/D168443
2023-02-01 14:18:40 +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
Meg Viar
e05ab712ce Bug 1805928 - Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens r=omc-reviewers,emcminn
Adds new "dismiss" about:welcome action that can be used to close Spotlight modals, sending a DISMISS telemetry ping.

This will allow us to configure buttons permitting a user to exit a multistage Spotlight modal on any screen (currently we can only do this for the last screen and for single screen messages).

Depends on D165254

Differential Revision: https://phabricator.services.mozilla.com/D165981
2023-01-26 17:53:21 +00:00
Russell Chan
ff1c655326 Bug 1786648 - [Cleanup] Remove background images used in Proton new user Onboarding r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D166735
2023-01-25 22:34:12 +00:00
DJ
0701e9a6a1 Bug 1806009 - Add payloads for cookie banner handling experiments. r=omc-reviewers,aminomancer,flod
Differential Revision: https://phabricator.services.mozilla.com/D165187
2023-01-24 19:10:44 +00:00
Meg Viar
04e1d3b419 Bug 1806425 - Make value of source in Feature Callout and page in its telementry more consistent r=jprickett,aminomancer
Unify the values of "source" and "page" as used in FeatureCallout.sys.mjs:
- Explicitly pass in a value for "page" when instantiating a Feature Callout and use this for the value of "page" when sending Feature Callout telemetry and as the "source" when making calls to `sendTriggerMessage`. This avoids the risk of including non-about: page URLs or PDF file extensions in our telemetry.
- Set the value of "page" in an HTML data attribute that can be accessed for use in about:welcome telemetry for Spotlight and Feature Callouts.
- Update references to the page value previously used as the page/source for telemetry from `about:firefoxview` Feature Callouts from "firefoxview"  to "about:firefoxview"
- Pass the token "chrome" when creating a callout from the browser chrome and update references to the source in PDF.js messages' targeting
- Update the page value expected in automated tests as needed

Differential Revision: https://phabricator.services.mozilla.com/D165910
2023-01-20 16:53:30 +00:00
Marian-Vasile Laza
046569807c Backed out changeset 7931cc7f97d9 (bug 1768730) for causing bc failures on browser_browserGlue_upgradeDialog_trigger.js and browser_aboutwelcome_upgrade_multistage_mr.js. CLOSED TREE 2023-01-20 00:17:14 +02:00
hanna alemu
0a3886816d Bug 1768730 - [Cleanup] Remove legacy spotlight messaging surface r=Mardak,fluent-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D165254
2023-01-19 20:07:16 +00:00
Artur Iunusov
0c3dca4f67 Bug 1671548 - Remove fission experiment support code and prefs, r=smaug,
r=tritter

- backed out changesets: 1660057, 1667426, 1674214,
1669749, 1685801, 1667381
- fission.experiment support removed everywhere, including telemetry

Differential Revision: https://phabricator.services.mozilla.com/D165169
2023-01-17 10:05:36 +00:00
Nick Alexander
5dfd2a49b8 Bug 1804757 - Avoid shutdown crashes writing targeting.snapshot.json. r=barret
This commit trades away consistency in order to reduce code execution.
Hopefully this avoids executing code that is likely not "shutdown
safe" and is inadvertently restarting services or otherwise hanging
when run during shutdown.

The trade off is that the written targeting snapshot may now be
incomplete (which was always the case in the face of runtime errors,
e.g., corrupt a database) or internally inconsistent (which is
probably new).  For example, weekly usage could be populated but most
frecent sites could be empty, contradicting the usage.  This trade-off
is accepted: occassionally targeting the user "in the
past" (generally, with data captured 30 minutes ago) is preferable to
relatively frequent shutdown crashes.

I would have liked to have checked for `shuttingDown` in
[CachedTargetingGetter](https://searchfox.org/mozilla-central/rev/abf6758ed833c203f84703aa2e3e3d317571b1e9/browser/components/newtab/lib/ASRouterTargeting.jsm#152),
but doing so might throw exceptions (or inject `null` values) where
they were not anticipated, which carries risks that I couldn't easily
mitigate.

If the measure implemented here is ineffective, we'll likely need to
restrict the set of targeting data collected, but I hope to avoid
that, since it reduces the flexibility of the background messaging
targeting significantly, and we may want the agility provided by rich
targeting at an unknown time in the future.

Differential Revision: https://phabricator.services.mozilla.com/D165916
2023-01-10 21:22:46 +00:00
Butkovits Atila
c78e806a19 Backed out changeset 2dcea9f0eb7e (bug 1768730) for causing python failures. CLOSED TREE 2023-01-10 10:13:31 +02:00
hanna alemu
78b16c7240 Bug 1768730 - [Cleanup] Remove legacy spotlight messaging surface r=Mardak,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165254
2023-01-10 07:15:56 +00:00
negin
999e89b206 Bug 1805313 - Update Onboarding template to support two CTA buttons r=pdahiya,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164594
2023-01-06 15:25:33 +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
hanna alemu
e6dc900130 Bug 1799939 - Write tests for CFR logic added in CFRPageActions.jsm r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D164102
2023-01-04 07:16:45 +00:00
Meg Viar
58cfaea214 Bug 1807850 - Firefox View feature reminder messages should not show within 24 hours of skipping feature tour r=aminomancer
Depends on D164824

Differential Revision: https://phabricator.services.mozilla.com/D165629
2022-12-30 20:41:44 +00:00
Jason Prickett
9d80e97429 Bug 1805413 - Implement relative position for feature callout positioning overrides r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D164628
2022-12-29 20:50:48 +00:00
Mark Banner
df47c60747 Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
Cristian Tuns
b20d6daa49 Backed out 2 changesets (bug 1805413, bug 1805385) for causing mochitest failures CLOSED TREE
Backed out changeset 9010e3c9421e (bug 1805385)
Backed out changeset c168847136ae (bug 1805413)
2022-12-21 21:47:33 -05:00
Jason Prickett
c184d1652c Bug 1805413 - Implement relative position for feature callout positioning overrides r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D164628
2022-12-22 01:53:49 +00:00