Commit Graph

426 Commits

Author SHA1 Message Date
Nick Alexander
4773306fc7 Bug 1945672 - Part 3: Block Glean startup and default browser prompt on notifying user. r=chutten,TravisLong,mviar,firefox-desktop-core-reviewers ,Gijs
This blocks FOG initialization on notifying the user.  This **does**
change the existing functionality, even when the Messaging System is
not used to notify the user: in legacy situations, this will display a
background tab and the promise will resolve quickly (not immediately),
falling back to an infobar that might be delayed 10-60s before being
displayed and being resolved (again, not immediately).

(Legacy Telemetry was blocked already, because the existing user
notification blocks sending Legacy Telemetry.)

Finally, the default browser prompt is blocked so that there's no race
between the (potentially blocking) Messaging System notification and
other prompts.  This also changes the behaviour by allowing the
Messaging System notification to be resolved and a subsequent
prompt (such as the default browser prompt) to be displayed
immediately afterward.

Differential Revision: https://phabricator.services.mozilla.com/D236624
2025-02-06 05:15:32 +00:00
Nick Alexander
c0f674a236 Bug 1945290 - Part 1: Hide TelemetryReportingPolicyImpl. r=chutten,mviar
This partially reverts the changes of an earlier commit, which made
some things asynchronous.  The `NimbusFeatures.getAllVariables()` API
is not, in fact, asynchronous, so opening the internals is not
strictly necessary.  This simplifies the expression and testing for
later.

N.b.: the existing implementation did not correctly test
`_openFirstRunPage`: that function was async and there was no `await`.
Therefore existing tests were asserting things about the function
definitions and not the function behaviours.

Differential Revision: https://phabricator.services.mozilla.com/D235886
2025-02-06 05:15:31 +00:00
Alexandru Marc
68ea3f065b Backed out 5 changesets (bug 1945290, bug 1945672) for causing xpcshell failures @ test_TelemetryReportingPolicy.js
Backed out changeset c16bb7800e1f (bug 1945672)
Backed out changeset 1a5006cd4cff (bug 1945672)
Backed out changeset 7da7d972d2fb (bug 1945672)
Backed out changeset 7b360633f06b (bug 1945290)
Backed out changeset caf8581c6983 (bug 1945290)
2025-02-06 02:40:51 +02:00
Nick Alexander
437a0d2791 Bug 1945672 - Part 3: Block Glean startup and default browser prompt on notifying user. r=chutten,TravisLong,mviar,firefox-desktop-core-reviewers ,Gijs
This blocks FOG initialization on notifying the user.  This **does**
change the existing functionality, even when the Messaging System is
not used to notify the user: in legacy situations, this will display a
background tab and the promise will resolve quickly (not immediately),
falling back to an infobar that might be delayed 10-60s before being
displayed and being resolved (again, not immediately).

(Legacy Telemetry was blocked already, because the existing user
notification blocks sending Legacy Telemetry.)

Finally, the default browser prompt is blocked so that there's no race
between the (potentially blocking) Messaging System notification and
other prompts.  This also changes the behaviour by allowing the
Messaging System notification to be resolved and a subsequent
prompt (such as the default browser prompt) to be displayed
immediately afterward.

Differential Revision: https://phabricator.services.mozilla.com/D236624
2025-02-05 21:55:30 +00:00
Nick Alexander
b6d918b470 Bug 1945290 - Part 1: Hide TelemetryReportingPolicyImpl. r=chutten,mviar
This partially reverts the changes of an earlier commit, which made
some things asynchronous.  The `NimbusFeatures.getAllVariables()` API
is not, in fact, asynchronous, so opening the internals is not
strictly necessary.  This simplifies the expression and testing for
later.

N.b.: the existing implementation did not correctly test
`_openFirstRunPage`: that function was async and there was no `await`.
Therefore existing tests were asserting things about the function
definitions and not the function behaviours.

Differential Revision: https://phabricator.services.mozilla.com/D235886
2025-02-05 21:55:28 +00:00
Tom Schuster
cfeedc189a Bug 1944241 - Remove the browser.xhtml specific CSP violation telemetry. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D236527
2025-02-04 12:54:28 +00:00
Tom Schuster
0d8d75e850 Bug 1942622 - Collect telemetry for all internal chrome: CSP violations. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D235656
2025-01-28 12:30:26 +00:00
Tom Schuster
102d06ee2d Bug 1942991 - Block inline event handlers from browser.xhtml in Early Beta. r=freddyb,firefox-desktop-core-reviewers ,mconley
Differential Revision: https://phabricator.services.mozilla.com/D235583
2025-01-27 17:21:33 +00:00
Meg Viar
de889acc9a Bug 1941896 - Add ability to show preonboarding modal persistently until interacted with r=jprickett,hanna_a
Add ability to show the preonboarding modal on every startup until a configured "interactionPref" is set to true, typically via interaction with the primary CTA.

Differential Revision: https://phabricator.services.mozilla.com/D234406
2025-01-17 21:13:03 +00:00
Meg Viar
3bd09d7884 Bug 1941350 - Add preonboarding modal Nimbus feature r=firefox-desktop-core-reviewers ,omc-reviewers,negin
- Add `preonboarding` Nimbus feature for showing a window modal over about:welcome that cannot be dismissed via ESC
- Include the ability to suppress showing the privacy notice tab on first run using a variable under the new `preonboarding` feature
- Remove legacy `showModal` related `aboutwelcome` Nimbus feature variables (these are not in use and were for [[ https://experimenter.services.mozilla.com/nimbus/window-modal-vs-tab-modal/summary | an old experiment ]])

Differential Revision: https://phabricator.services.mozilla.com/D234039
2025-01-17 15:18:15 +00:00
Stanca Serban
b272d96a83 Backed out changeset 7ebf2aee0c7b (bug 1941350) for causing xpcshell failures in test_TelemetryReportingPolicy.js. CLOSED TREE 2025-01-16 19:51:43 +02:00
Meg Viar
9317d6a34e Bug 1941350 - Add TOU preonboarding modal Nimbus feature r=firefox-desktop-core-reviewers ,omc-reviewers,negin
- Add `preonboarding` Nimbus feature for showing a window modal over about:welcome that cannot be dismissed via ESC
- Include the ability to suppress showing the privacy notice tab on first run using a variable under the new `preonboarding` feature
- Remove legacy `showModal` related `aboutwelcome` Nimbus feature variables (these are not in use and were for [[ https://experimenter.services.mozilla.com/nimbus/window-modal-vs-tab-modal/summary | an old experiment ]])

Differential Revision: https://phabricator.services.mozilla.com/D234039
2025-01-16 16:00:13 +00:00
Tom Schuster
2f25c5e202 Bug 1940393 - Silence accessibility warning in CSP test. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D233479
2025-01-09 08:15:14 +00:00
Tom Schuster
4f2b7226c3 Bug 1937080 - Block inline event handlers in Nightly and collect telemetry. r=freddyb,Gijs,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D232982
2025-01-08 07:52:15 +00:00
Tom Schuster
e9b35cdddc Bug 1937080 - Make the <meta> CSP in browser.xhtml pref controllable. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D232711
2025-01-08 07:52:14 +00:00
Tom Schuster
d6d42a924e Bug 1937080 - Don't strip CSP report URIs when the mSelfURI is a chrome: URL. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D232981
2025-01-08 07:52:14 +00:00
Tom Schuster
7ef2943c60 Bug 1936336 - Disallow inline event handlers in browser.xhtml in debug builds (and test). r=freddyb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D231780
2024-12-30 08:44:13 +00:00
Alexandru Marc
617b812600 Backed out changeset 4f1ddec217ba (bug 1936336) for causing bc failures @ browser_policy_managedbookmarks.js CLOSED TREE 2024-12-21 00:47:03 +02:00
Tom Schuster
4a88aee203 Bug 1936336 - Disallow inline event handlers in browser.xhtml in debug builds (and test). r=freddyb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D231780
2024-12-20 18:46:02 +00:00
Meg Viar
5567720814 Bug 1933293 - Rework aboutWelcome modal behavior to still show about:welcome page and make requiring action to proceed configurable r=firefox-desktop-core-reviewers ,mossop,pdahiya
This patch updates the logic that prevents about:welcome from showing when the Nimbus `aboutWelcome` `showModal` variable is set to true. If separate screens for the modal are provided, it can now be shown on top of the default onboarding flow in about:welcome.

A `requireAction` variable that sets the modal to be a window modal requiring action (other than pressing ESC) to dismiss is also added to the `aboutWelcome` Nimbus feature

Differential Revision: https://phabricator.services.mozilla.com/D230185
2024-12-18 19:04:43 +00:00
Kelly Cochrane
000814bd68 Bug 1897411 - Add keyboard shortcut for expanding/collapsing the new sidebar r=sidebar-reviewers,fluent-reviewers,bolsson,sclements
Differential Revision: https://phabricator.services.mozilla.com/D229405
2024-12-12 21:34:38 +00:00
Ed Lee
7138179e8f Bug 1905027 - There should be a Keyboard shortcut for the AI chat sidebar r=sidebar-reviewers,sclements,fluent-reviewers,flod,ngrato
Toggle chatbot with Ctrl-Alt-X / Ctrl-X macOS enabling if necessary. Record event on using keyboard shortcut.

Differential Revision: https://phabricator.services.mozilla.com/D226205
2024-12-11 09:01:57 +00:00
hanna.alemu
50ffb1e5e7 Bug 1931926 - Store Timestamp of Default Modal Prompt last seen r=firefox-desktop-core-reviewers ,omc-reviewers,mviar,mossop
Differential Revision: https://phabricator.services.mozilla.com/D229967
2024-12-02 14:59:11 +00:00
jabram
ad7b1e649c Bug 1451132 - Provide option to close current tab on quit r=fluent-reviewers,reusable-components-reviewers,mconley,settings-reviewers,mossop,accessibility-frontend-reviewers,mstriemer,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D223374
2024-11-25 21:03:45 +00:00
hanna alemu
f2b065e5bb Bug 1825381 - Create experimental set to default prompt-style spotlight and enable showing via Nimbus r=mviar,omc-reviewers,firefox-desktop-core-reviewers ,mossop,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D225699
2024-11-20 18:04:46 +00:00
Emilio Cobos Álvarez
097206da76 Bug 1919611 - Fix #ifdef for windows. r=nchevobbe,dshin
And add a test.

Differential Revision: https://phabricator.services.mozilla.com/D222759
2024-09-20 06:51:36 +00:00
Joel Maher
04cf186cea Bug 1917223 - re-enable many tests on browser/components/[pri*-urlbar]/**/browser.toml. r=aryx,sessionstore-reviewers,tabbrowser-reviewers,translations-reviewers,omc-reviewers,urlbar-reviewers,dao,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D221309
2024-09-18 23:37:52 +00:00
Eric Chen
67045ca160 Bug 1642039 - Part 3: make updateInstalledAtStartup and lastUpdateInstalled async r=bytesized,application-update-reviewers,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D218248
2024-09-07 22:33:04 +00:00
Eric Chen
83c596c757 Bug 1642039 - Part 2: Make reloadUpdateManager and related functions async r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D216318
2024-09-07 22:33:04 +00:00
Max Christian Pohle
88cd867f6d Bug 1910910 - mailto: telemetry for dismiss buttons, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D221018
2024-09-06 18:19:41 +00:00
Joel Maher
3c323306ab Bug 1917158 - move some skip-if -> run-if for browser/components/**/browser.toml. r=sessionstore-reviewers,tabbrowser-reviewers,urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D221286
2024-09-06 10:08:18 +00:00
Tamas Szentpeteri
10732cf3e2 Backed out 3 changesets (bug 1642039) for causing talos failures on startup_about_home_paint_realworld_webextensions. CLOSED TREE
Backed out changeset f1164ee8dd18 (bug 1642039)
Backed out changeset f9b1ba53b30e (bug 1642039)
Backed out changeset b4f5a132a3bd (bug 1642039)
2024-09-03 00:13:42 +03:00
Eric Chen
02e18b6bc9 Bug 1642039 - Part 3: make updateInstalledAtStartup and lastUpdateInstalled async r=bytesized,application-update-reviewers,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D218248
2024-09-02 17:51:18 +00:00
Eric Chen
2f7188b71f Bug 1642039 - Part 2: Make reloadUpdateManager and related functions async r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D216318
2024-09-02 17:51:18 +00:00
Nipun Shukla
9044371423 Bug 1794159 - Part 3: Enable MSIX pinning in nsWindowsShellService r=nrishel,nalexander,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D217763
2024-08-12 17:05:48 +00:00
Nipun Shukla
93c6531ceb Bug 1900035 - Added Windows start menu pinning to MSIX set-to-default and taskbar pinning scenarios r=omc-reviewers,firefox-desktop-core-reviewers ,Gijs,mpohle,aminomancer,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D212461
2024-07-24 21:13:35 +00:00
Alexandre Lissy
5d8765d4fa Bug 1899516 - Warn user when missing unprivileged user namespace r=firefox-desktop-core-reviewers ,fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D212024
2024-07-15 12:11:54 +00:00
hanna alemu
defd76eb83 Bug 1898361 - Add ability to disable WNP via whatsNewPage nimbus feature r=aminomancer,omc-reviewers,firefox-desktop-core-reviewers CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D212492
2024-07-02 23:12:59 +00:00
Cristina Horotan
d76e8c435b Backed out changeset 6829ed75952b (bug 1898361) for causing build bustage at NimbusMessagingControllerTest.kt. CLOSED TREE 2024-07-03 03:58:38 +03:00
hanna alemu
e98ba5d8ad Bug 1898361 - Add ability to disable WNP via whatsNewPage nimbus feature r=aminomancer,omc-reviewers,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212492
2024-07-02 23:12:59 +00:00
Max Christian Pohle
3aaab52159 Bug 1900839 - mailto: Replace site specific settings with permission manager, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D213507
2024-06-21 11:25:55 +00:00
Mike Conley
9df9057031 Bug 1889123 - Add tests for the client association ping. r=markh,chutten
Differential Revision: https://phabricator.services.mozilla.com/D214114
2024-06-19 18:42:19 +00:00
William Wen
95dc3fddab Bug 1611426 - Add migration to delete permissions no longer used by nsContentBlocker. r=pbz,firefox-desktop-core-reviewers ,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D210548
2024-06-12 11:34:16 +00:00
Eric Chen
8b87eaa11c Bug 1889785 - Ensure What's New Page is displayed when the relevant update is installed by a different profile r=bytesized,application-update-reviewers,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D210854
2024-06-10 17:45:03 +00:00
Barret Rennie
871e74ca58 Bug 1829412 - Simplify NimbusTestUtils.enrollmentHelper r=chumphreys,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,omc-reviewers,home-newtab-reviewers,thecount,issammani,aminomancer,mconley
The enrollmentHelper was much more complicated than it needed to be. The
internal asynchrony that required awaiting an additional promise was fixed in
bug 1773583.

The returned cleanup function is no longer async, so unnecessary awaits have
been removed. This also applies to enrollWithFeatureConfig, as it is a wrapper
around enrollmentHelper.

Differential Revision: https://phabricator.services.mozilla.com/D212318
2024-06-06 14:42:00 +00:00
Sidharth Sachdev
36bf40c3a9 Bug 1900483 - Update central with the latest beta/release 127 changes for OSAuth. r=issammani,Gijs,firefox-desktop-core-reviewers
***
Bug 1898323 - follow-up: fix tests now that beta/release default to not enabling CC/pwd autofill os reauth
***
Bug 1898323 - fix about:logins and formautofill tests better given the disabling of OS reauth on beta/release
***
Bug 1898323 - Fix OsAuth migration for beta and have it disabled by default on Beta and Release. r=ssachdev!,issammani!
***
Bug 1899368 - Disable OS Auth for new users in Beta and Release. r=issammani!,gijs!
***
Aligned anti_clickjacking with beta

Differential Revision: https://phabricator.services.mozilla.com/D212577
2024-06-05 08:14:28 +00:00
Moritz Beier
0dcee9a58f Bug 1610530 - Use classes instead of ids to access urlbar elements from UrlbarInput. r=dao,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D212095
2024-06-04 12:58:52 +00:00
Max Christian Pohle
06674fbbd1 Bug 1894024 - mailto: remind users to finish the configuration of a webmailer, r=Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209067
2024-05-30 15:59:30 +00:00
Sidharth Sachdev
78c462df98 Bug 1898323 - Fix OsAuth migration. r=issammani,firefox-desktop-core-reviewers ,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D211245
2024-05-28 16:38:08 +00:00
Max Christian Pohle
69a7c639fb Bug 1842290 - Report whether Firefox is the default mailto protocol handler, r=nalexander,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D211455
2024-05-24 23:13:53 +00:00