Commit graph

127 commits

Author SHA1 Message Date
Punam Dahiya
2b39c9ff18 Bug 1751093 - Clean up Cloud Storage API and its usage in about:preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137248
2022-04-07 10:17:13 +00:00
Greg Tatum
9b6077c202 Bug 1759577 - Centralize getScriptDirection into MozIntl; r=platform-i18n-reviewers,preferences-reviewers,Gijs,dminor
Differential Revision: https://phabricator.services.mozilla.com/D141003
2022-03-22 15:26:09 +00:00
Emilio Cobos Álvarez
b31dab5c3d Bug 1736218 - Implement website appearance chooser. r=Gijs,fluent-reviewers,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140223
2022-03-17 14:44:04 +00:00
Emilio Cobos Álvarez
c7de191b45 Bug 1147847 - Allow users to enable overlay scrollbars on Linux from about:preferences. r=Gijs,fluent-reviewers,preferences-reviewers
We might want to do this on Windows 11 as well, but Windows 11 has a
system-wide preference with UI so let's not do that just yet at least,
UI-exposed preference.

Differential Revision: https://phabricator.services.mozilla.com/D138502
2022-02-14 07:43:42 +00:00
Shane Hughes
87f3ed2b2c Bug 1749155 - Add a Nightly-only option to suppress update available notifications. r=fluent-reviewers,bytesized
The new pref app.update.suppressPrompts will allow user to suppress
update-available prompts (popupnotifications) for up to seven days.
Instead, Nightly will display an update badge and banner immediately,
and wait 7 days before showing an interactive prompt. It will also
disable update-restart prompts entirely, instead showing badge and
banner. This also adds telemetry to measure how often these update
prompts are being suppressed via user preference. All of these features
are only enabled on Nightly builds.

Differential Revision: https://phabricator.services.mozilla.com/D135449
2022-02-02 00:09:54 +00:00
Mike Kaply
0f2af8604b Bug 1632058 - Always get distribution values from default prefs. r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D93805
2022-01-24 20:46:38 +00:00
Gijs Kruitbosch
9db34ce1e6 Bug 1150377 - stop sorting the columns in the application handler list for right/middle clicks, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D136747
2022-01-24 16:58:32 +00:00
Mathew Hodson
26dc098539 Bug 1749635 - Replace osfile.jsm usage in UpdateUtils.jsm. r=application-update-reviewers,nalexander,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D135661
2022-01-21 09:44:44 +00:00
Greg Tatum
d57ab751eb Bug 1740067 - Add live language reloading; r=mstriemer,preferences-reviewers
The tests are in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D136021
2022-01-20 21:42:27 +00:00
Greg Tatum
6dcc33d266 Bug 1740067 - Add code documentation to language switching preferences; r=mstriemer,platform-i18n-reviewers,preferences-reviewers,nordzilla
I felt somewhat disoriented in the code when ramping up on it, so I
started documenting it with JSDoc as way to better understand the code.

Differential Revision: https://phabricator.services.mozilla.com/D136020
2022-01-20 21:42:27 +00:00
Greg Tatum
75db126813 Bug 1740067 - Rename language switching variables to be more explicit; r=mstriemer,platform-i18n-reviewers,preferences-reviewers,nordzilla
These were all areas that were confusing me when I was onboarding on to
this code, so I tried to make the terminology less ambiguous and more
precise.

The default language is now the primary language.

UI is now appended to words that are dealing with DOM elements rather
than data stores.

Differential Revision: https://phabricator.services.mozilla.com/D136019
2022-01-20 21:42:27 +00:00
Mark Banner
4f4dd2fbae Bug 1750974 - Extend our ESLint import-globals-from function to support absolute directories. r=Gijs,mossop
Differential Revision: https://phabricator.services.mozilla.com/D136368
2022-01-20 14:15:34 +00:00
Hector Zhao
59546ccb97 Bug 1476781 - Use the locale specific language name in languages. r=platform-i18n-reviewers,preferences-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D134865
2022-01-06 10:30:33 +00:00
Kirk Steuber
21fe3d1d47 Bug 1738983 - Enable Background Update by default on Release r=nalexander,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D133949
2021-12-16 18:49:29 +00:00
Gijs Kruitbosch
e885ac02af Bug 1744021 - force the update prefs to be disabled for at least one second when changing them, r=bytesized,preferences-reviewers,mstriemer,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132959
2021-12-13 18:19:27 +00:00
Narcis Beleuzu
6757003595 Backed out changeset 1a5efeaef0a9 (bug 1744021) for bc failures on browser_aboutPrefs_settings.js. CLOSED TREE 2021-12-11 01:34:28 +02:00
Gijs Kruitbosch
f10139fed0 Bug 1744021 - force the update prefs to be disabled for at least one second when changing them, r=bytesized,preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D132959
2021-12-10 21:25:00 +00:00
Gijs Kruitbosch
3b0145da09 Bug 1294999 - put module getters in preferences.js and de-duplicate them, r=jaws,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132529
2021-12-01 16:35:25 +00:00
Gijs Kruitbosch
2f7ed81c5b Bug 1742146 - don't race localization against non-localization when updating the downloads prefs, r=jaws,preferences-reviewers
This race condition happens because some of the paths through displayDownloadDirPrefTask
are synchronous, and some are not, and we repeatedly call it in the same turn of the
event loop, both because downloads prefs are stored in 2 prefs, both of which impact
this display, and because the pref bindings like calling 'change' event listeners more
than once.

To make this reliably deterministic, instead of juggling callsites, just ensure that
the last caller to displayDownloadDirPrefTask is always the one that actually
determines the label that gets displayed.

Differential Revision: https://phabricator.services.mozilla.com/D131853
2021-11-23 22:46:31 +00:00
Itiel
661abe443c Bug 1710392 - Consolidate info boxes in about:preferences r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D115421
2021-09-21 18:14:52 +00:00
Itiel
42fc576ab9 Bug 1730767 - Set text descriptions in the message bar to RTL when the selected locale is RTL r=mstriemer,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D125597
2021-09-16 18:24:35 +00:00
Neil Deakin
f9724c80fd Bug 1730217, hide keyboard shortcut warning checkbox if the browser.quitShortcut.disabled preference if enabled, r=mhowell,preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D125246
2021-09-14 19:04:34 +00:00
Neil Deakin
d9f50dd2f4 Bug 1726736, add checkbox to the main preferences page for the confirm on pressing the quit keyboard shortcut setting, r=Gijs,fluent-reviewers,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D124223
2021-09-08 12:32:58 +00:00
Neil Deakin
bacad5868c Bug 1724976, whether to show quit warning should not be dependent on session restore state, and remove the redundant browser.sessionstore.warnOnQuit preference, r=Gijs,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D124221
2021-09-08 12:32:57 +00:00
Gijs Kruitbosch
4fa576deda Bug 1723723 - stop using getURLSpecFromFile from JS code to avoid mainthread IO, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D121620
2021-08-03 18:32:50 +00:00
Zibi Braniecki
0313b855ed Bug 1613705 - [localization] part16: Fix preferences language menu selection test. r=platform-i18n-reviewers,dminor
Depends on D116755

Differential Revision: https://phabricator.services.mozilla.com/D116791
2021-08-03 16:25:16 +00:00
Butkovits Atila
949da905e7 Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE
Backed out changeset 2ee1091dd20d (bug 1613705)
Backed out changeset d377afc0b09f (bug 1613705)
Backed out changeset de9d4378f0ac (bug 1613705)
Backed out changeset 9843372abb6e (bug 1613705)
Backed out changeset 5fc5918e5905 (bug 1613705)
Backed out changeset a7aeae7afd49 (bug 1613705)
Backed out changeset 5d61617a5402 (bug 1613705)
Backed out changeset 85bf98573899 (bug 1613705)
Backed out changeset 175af8a1b8c2 (bug 1613705)
Backed out changeset 93fcb23d7898 (bug 1613705)
Backed out changeset 595529cd906f (bug 1613705)
Backed out changeset 9f3e2963d925 (bug 1613705)
Backed out changeset 442289058933 (bug 1613705)
Backed out changeset fc3b9acb0e81 (bug 1613705)
Backed out changeset 408983c64f7f (bug 1613705)
Backed out changeset 08b637fc3fcd (bug 1613705)
Backed out changeset 6ef0aafd2db0 (bug 1613705)
Backed out changeset d88b294e0a5e (bug 1613705)
Backed out changeset e6bebff87544 (bug 1613705)
2021-08-03 12:36:01 +03:00
Zibi Braniecki
3b52d14dc5 Bug 1613705 - [localization] part16: Fix preferences language menu selection test. r=platform-i18n-reviewers,dminor
Depends on D116755

Differential Revision: https://phabricator.services.mozilla.com/D116791
2021-08-03 05:52:06 +00:00
Zibi Braniecki
15e7d48273 Bug 1660392 - [l10nregistry] part7: Move L10nRegistry callees to use WebIDL one. r=preferences-reviewers,Gijs,platform-i18n-reviewers,gregtatum
Depends on D105416

Differential Revision: https://phabricator.services.mozilla.com/D105584
2021-07-30 16:47:49 +00:00
Molly Howell
c8456941cf Bug 1709978 - Disable app update when running as a packaged app. r=agashlin,preferences-reviewers
This patch disables the update service as if it were disabled by policy
whenever a package identify is present. User interfaces are treated as if
the updater had not been included in the build, because that prevents any of
our usual update UI from being shown, and in particular ensures that we do not
generate messages about an administrator handling updates, as would normally
happen when disabling updates via policy.

The telemetry environment's update.enabled flag is deliberately left alone in
this patch, because the mere fact of using an app package does not really say
anything about whether the user intends to allow automatic updating or not.

Depends on D114427

Differential Revision: https://phabricator.services.mozilla.com/D114886
2021-07-15 20:58:21 +00:00
Csoregi Natalia
e3638062b6 Backed out changeset cec939837018 (bug 1709978) for causing failures on app update. CLOSED TREE 2021-07-14 22:21:53 +03:00
Molly Howell
c797d0b164 Bug 1709978 - Disable app update when running as a packaged app. r=agashlin,preferences-reviewers
This patch disables the update service as if it were disabled by policy
whenever a package identify is present. User interfaces are treated as if
the updater had not been included in the build, because that prevents any of
our usual update UI from being shown, and in particular ensures that we do not
generate messages about an administrator handling updates, as would normally
happen when disabling updates via policy.

The telemetry environment's update.enabled flag is deliberately left alone in
this patch, because the mere fact of using an app package does not really say
anything about whether the user intends to allow automatic updating or not.

Differential Revision: https://phabricator.services.mozilla.com/D114886
2021-07-14 18:23:41 +00:00
Andre Natal
d30670b17a Bug 1715913 - Update Firefox Translations to 0.4.3 r=preferences-reviewers,jaws,fluent-reviewers,flod,mixedpuppy
Updating Firefox Translations to 0.4.3 https://bugzilla.mozilla.org/show_bug.cgi?id=1715913
Adding a new option to the preferences menu to handle translations exceptions https://bugzilla.mozilla.org/show_bug.cgi?id=1714031
Fixes diffoscope issues https://bugzilla.mozilla.org/show_bug.cgi?id=1713561

Differential Revision: https://phabricator.services.mozilla.com/D117512
2021-07-13 21:00:08 +00:00
Kirk Steuber
f07cc72e96 Bug 1703302 - Remove app.background.experimental to show background update UI unconditionally r=nalexander,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111199
2021-04-14 17:50:07 +00:00
alwu
e8dccb10cb Bug 1700829 - remove probe expiring in Fx90 : MEDIA_CONTROL_SETTING_CHANGE. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111657
2021-04-14 16:56:57 +00:00
Kirk Steuber
b920b21c76 Bug 1674277 - Make AUS.stopDownload asynchronous r=nalexander,preferences-reviewers
The Downloader's cleanup function really ought to be asynchronous. The observer for "quit-application" is already asynchronous, so there's no problem there. But really, we ought to be cleaning up each downloader that we use, not just the last one. Which means that the cleanup ought to happen in AUS.stopDownload. So this patch will convert AUS.stopDownload to be asynchronous so that we can properly clean up the downloader from there.

Differential Revision: https://phabricator.services.mozilla.com/D110646
2021-04-05 19:52:12 +00:00
Bernard Igiri
3cf8013f16 Bug 1692303 - Flip default value to browser.ctrlTab.recentlyUsedOrder to false r=mstriemer,mconley,preferences-reviewers
Changed default Ctrl+Tab preference to false and added UI migration to reset it for users who haven't not used the feature before.

Differential Revision: https://phabricator.services.mozilla.com/D109653
2021-03-26 21:56:41 +00:00
Gijs Kruitbosch
9e20a27ad0 Bug 1694511 - update references inside the prefs/about:addons to Preferences/Options to use 'Settings' instead, r=preferences-reviewers,fluent-reviewers,jaws,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106199
2021-03-25 19:11:47 +00:00
Csoregi Natalia
a60c66265b Backed out changeset 816285ac4de4 (bug 1694511) for failures on browser_experimental_features.js. CLOSED TREE 2021-03-24 15:15:27 +02:00
Gijs Kruitbosch
65f48ef9b0 Bug 1694511 - update references inside the prefs/about:addons to Preferences/Options to use 'Settings' instead, r=preferences-reviewers,fluent-reviewers,jaws,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106199
2021-03-24 11:27:27 +00:00
Kirk Steuber
bdc816f873 Bug 1483399 - Add a UI to about:preferences to control app.update.background.enabled r=nalexander,preferences-reviewers,Gijs
The UI is currently hidden unless app.update.background.experimental is set to true. The preferences page must be reloaded after setting this pref.

Differential Revision: https://phabricator.services.mozilla.com/D108705
2021-03-22 20:40:27 +00:00
Bernard Igiri
06b4adff26 Bug 1685961 - Hide Content Process Limit UI r=Gijs
Hides the "Content Process Limit" UI when Fission is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D105055
2021-03-01 18:23:31 +00:00
smolnar
0e0405afb8 Backed out changeset ca970620edf2 (bug 1685961) for causing mochitest failures in browser_performance. CLOSED TREE 2021-02-25 01:40:51 +02:00
Bernard Igiri
a406661d0f Bug 1685961 - Hide Content Process Limit UI r=Gijs
Hides the "Content Process Limit" UI when Fission is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D105055
2021-02-24 20:42:31 +00:00
Tim Nguyen
3f47e43fac Bug 1523453 - Remove unused workaround for gAppUpdater in preferences. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103604
2021-02-01 13:47:17 +00:00
Tim Nguyen
553283a8aa Bug 1689742 - Stop using XUL <deck> for #setDefaultPane. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103522
2021-01-30 16:31:53 +00:00
Kirk Steuber
c50930cb95 Bug 1685594 - Add capability for turning off automatic application update checks r=agashlin,preferences-reviewers
Note that this does not add the policy necessary to enable this feature. That policy will be added in Bug 1653430

Differential Revision: https://phabricator.services.mozilla.com/D101251
2021-01-21 23:47:19 +00:00
Gijs Kruitbosch
e7ff71ba6c Bug 1581678 - remove dead plugin code from about:preferences r=preferences-reviewers,ntim
Because 'navigator.mimeTypes' is always the empty string in the parent process, the loop at
_loadPluginHandlers never does anything, and there's no point keeping this now Flash is going
the way of the dodo anyway.

Differential Revision: https://phabricator.services.mozilla.com/D100216
2020-12-22 11:05:00 +00:00
alwu
d63d47bb5a Bug 1667454 - part2 : add telemetry probe to record the number of times a user changes media control setting. r=preferences-reviewers,mossop,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92872
2020-10-15 05:11:40 +00:00
alwu
2a7f087237 Bug 1667454 - part1 : add a toggle button in preference page for media control. r=preferences-reviewers,fluent-reviewers,Gijs
Add a toggle button to allow user enable/disable media control feature, and here is the UX doc [1].

[1] https://docs.google.com/document/d/1Faayu4_PnIxTDScIiOI3tu20_A5av3kryCRy26J2WyQ/edit

Differential Revision: https://phabricator.services.mozilla.com/D91871
2020-10-14 20:04:41 +00:00