Commit Graph

1682 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
negin
6818a9b3ac Bug 1814503 - Allow passing of utm_term through OPEN_URL and SHOW_FIREFOX_ACCOUNT actions for Spotlight r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D169714
2023-02-21 15:16:10 +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
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
Joel Maher
417438b9cf Bug 1816191 - Skip tests in order to keep win7 running @ azure. r=gbrown,necko-reviewers,settings-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,nalexander,sgalich,alwu
Differential Revision: https://phabricator.services.mozilla.com/D169523
2023-02-14 23:44:12 +00:00
Barret Rennie
17b69c4607 Bug 1813597 - Support reach experiments in the FxMS schemas r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D168322
2023-02-13 18:42:36 +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
negin
abe6cb2166 Bug 1812935 - [Cleanup] Remove browser.aboutwelcome.templateMR pref and pre-MR onboarding r=omc-reviewers,aminomancer,emcminn,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D168266
2023-02-09 16:55:11 +00:00
Jason Prickett
81d6c2c73d Bug 1815308 - Changed feature callout pdf check to use content principal instead of source URI r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D169021
2023-02-08 23:08:09 +00:00
Shane Hughes
252dec2d58 Bug 1809722 - Add dismiss button to spotlight. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D166760
2023-02-08 05:05:32 +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
Mark Banner
7cadd97599 Bug 1815224 - Migrate ASRouterChild/Parent.jsm to ES modules. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D168954
2023-02-06 19:11:47 +00:00
negin
48c1fd82ea Bug 1814405 - The Download Mobile URL does not contain the experiment UTM parameters when it is accessed from window modal r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D168740
2023-02-03 02:15:58 +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
Shane Hughes
7f19e919fb Bug 1805177 - Make Escape key dismiss Feature Callouts. r=mviar
Set up event handlers so that pressing Escape dismisses Feature
Callouts. If an interactive element outside of the Callout is focused,
then the Escape key will not be consumed. Also consolidate all the event
handlers into a single switch statement so we won't need to continue
adding more callback bindings (they were only necessary before
encapsulation was implemented). Also change the names of a couple
formerly pseudo-private methods that we're now referencing externally.

Differential Revision: https://phabricator.services.mozilla.com/D168307
2023-02-01 17:52:12 +00:00
Russell Chan
95fb6191c6 Bug 1809334 - [Cleanup] Remove pre-MR onboarding default message r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D166699
2023-02-01 17:47:42 +00:00
Russell Chan
49b66cb543 Bug 1796238 - Hide lone progress bar step in aboutwelcome in HCM r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166833
2023-01-30 19:07:05 +00:00
Sandor Molnar
8770446534 Backed out changeset 611d8c6d5ce8 (bug 1796238) for causing bc failures in browser/components/newtab/test/browser/browser_aboutwelcome_multistage_primary.js CLOSED TREE 2023-01-26 20:33:50 +02: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
47161480c3 Bug 1796238 - Hide lone progress bar step in aboutwelcome in HCM r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166833
2023-01-26 17:11:25 +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
Sam Foster
030d364ae0 Bug 1784979 - Move some firefoxview test helpers to a shareable module. r=sclements,aminomancer
* Create a sharable module for the core Firefox-View test helpers
* Adjust firefoxview's tests (head.js) to use the helper module
* Adjust messaging-system tests to use the helper module  where these helpers were temporarily duplicated
* Adjust newtab tests to use the helper module

Differential Revision: https://phabricator.services.mozilla.com/D167589
2023-01-24 22:40:44 +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
Emily McMinn
e2de2a0570 Bug 1794937 - Remove mr2022 test leaving open tabs r=barret
Differential Revision: https://phabricator.services.mozilla.com/D167163
2023-01-23 20:16:48 +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
Gijs Kruitbosch
5a903703c5 Bug 1810995 - update BrowserTestUtils.loadURI consumers to use loadURIString (automated) - browser - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167153
2023-01-19 20:16:42 +00: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
negin
b08695f348 Bug 1803489 - Use gradient background for New User Onboarding Window Modal r=pdahiya,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166581
2023-01-17 16:04:58 +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
Mark Banner
570a1b2016 Bug 1808941 - In newtab's ESLint configuration, only specify test environments where they are actually used to get the correct globals and rules. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166194
2023-01-07 13:21:40 +00:00
Marian-Vasile Laza
2f82fe003a Backed out 5 changesets (bug 1808941) for causing newtab failures. CLOSED TREE
Backed out changeset 3df3536eabbb (bug 1808941)
Backed out changeset eee0bb5a4c96 (bug 1808941)
Backed out changeset 9adc7f9ee3c6 (bug 1808941)
Backed out changeset 44c2c13bd7d9 (bug 1808941)
Backed out changeset a20a5cde0fe5 (bug 1808941)
2023-01-07 13:41:13 +02:00
Mark Banner
3ab74eaaee Bug 1808941 - In newtab's ESLint configuration, only specify test environments where they are actually used to get the correct globals and rules. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166194
2023-01-07 10:59:04 +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
Shane Hughes
bf1bcee6bd Bug 1807970 - Use translate for about:welcome progress bar transitions. r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D165713
2023-01-03 22:46:35 +00:00