Francesco Lodolo (:flod)
16a2555acd
Bug 1692653 - Fall back to locale code without region when resolving language names in Accept-Languages, r=Gijs,preferences-reviewers
...
If a locale code with region (e.g. it-IT) is not defined in language.properties, we display an empty language name.
In this dialog, we can still show a language name if it matches a known locale code without the region (e.g. it).
Differential Revision: https://phabricator.services.mozilla.com/D157113
2022-09-12 13:02:25 +00:00
Dão Gottwald
d1efd3dc88
Bug 1785203 - Consolidate sub-dialog title bar styling and update Colors dialog default width. r=Itiel,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D154877
2022-08-18 16:52:58 +00:00
Emilio Cobos Álvarez
0f16115b60
Bug 1784265 - Drop support for flex attribute values other than 0 and 1. r=dholbert,mconley,preferences-reviewers
...
This makes it easier to get parity between legacy and regular flex
without having to either have tons of arbitrary attribute selectors in
the xul sheet, nor adding attribute lookup hacks to the html flexbox
layout.
Also, reimplement the remaining supported flex attribute-values (0 and 1)
purely in terms of CSS rules in xul.css (regardless of whether
emulate-moz-box-with-flex is enabled).
In practice these are pretty uncommon and the style attribute does the
trick in every case I've tried.
Add a debug-only assertion to ensure we preserve behavior for now.
Add a new test with another behavior difference between flexbox
emulation and old xul layout because the old reftest now passes. Use
replaced elements, which in modern flex are treated differently.
Differential Revision: https://phabricator.services.mozilla.com/D154394
2022-08-12 23:13:41 +00:00
Marian-Vasile Laza
b160c98958
Backed out 3 changesets (bug 1784265) for causing reftest failures on flex-emulation-1.xhtml. CLOSED TREE
...
Backed out changeset 415da4b53bdd (bug 1784265)
Backed out changeset e27b21c54b1f (bug 1784265)
Backed out changeset fcb1a053fbe2 (bug 1784265)
2022-08-13 01:14:13 +03:00
Emilio Cobos Álvarez
5c4a2beefd
Bug 1784265 - Drop support for flex attribute values other than 0 and 1. r=dholbert,mconley,preferences-reviewers
...
This makes it easier to get parity between legacy and regular flex
without having to either have tons of arbitrary attribute selectors in
the xul sheet, nor adding attribute lookup hacks to the html flexbox
layout.
Also, reimplement the remaining supported flex attribute-values (0 and 1)
purely in terms of CSS rules in xul.css (regardless of whether
emulate-moz-box-with-flex is enabled).
In practice these are pretty uncommon and the style attribute does the
trick in every case I've tried.
Add a debug-only assertion to ensure we preserve behavior for now.
Add a new test with another behavior difference between flexbox
emulation and old xul layout because the old reftest now passes. Use
replaced elements, which in modern flex are treated differently.
Differential Revision: https://phabricator.services.mozilla.com/D154394
2022-08-12 19:34:34 +00:00
Mark Banner
d026f430f6
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar
ee079d37e2
Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
...
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
8715b062f5
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru
bc13570de5
Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
...
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner
2bd76952c1
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Tooru Fujisawa
328d63ce7f
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
f009ba2983
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
bf0a8b781b
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
48c568867c
Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Hannah Peuckmann
3131d76ba6
Bug 1722228 - Fix backspace triggers clearing of site data on macOS. r=pbz,preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D145540
2022-05-23 12:42:07 +00:00
Cosmin Sabou
adccf316fd
Backed out changeset 9fe7e79e2e01 (bug 1722228) for browser-chrome failures on browser_siteData2.js.
2022-05-19 10:40:35 +03:00
Hannah Peuckmann
12b616c559
Bug 1722228 - Fix backspace triggers clearing of site data on macOS. r=pbz,preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D145540
2022-05-19 06:37:41 +00:00
Greg Tatum
3a42838276
Bug 1764920 - Install the langpack even if it is the fallback; r=platform-i18n-reviewers,preferences-reviewers,mstriemer,dminor
...
The fallback locale is not guaranteed to have all of the strings for
non-fluent files, even if it is one of the available locales. This patch
shares the logic with about:preferences for getting the available
locales.
Differential Revision: https://phabricator.services.mozilla.com/D143910
2022-04-28 15:00:57 +00:00
Mike Kaply
f63f640b03
Bug 1520913 - Allow password manager exceptions in policy. r=mstriemer,fluent-reviewers,flod,preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D142886
2022-04-14 19:41:32 +00:00
Hannah Peuckmann
6ad4e83fd6
Bug 1724690 - Check for invalid combination of capability and type. r=pbz,preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D137733
2022-02-10 15:53:46 +00:00
Greg Tatum
4b07ce32cc
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
5d4553e73a
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
79d3b1c3a1
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
2649c5fb78
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
a8c3f4603b
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
Gijs Kruitbosch
cb99d50b79
Bug 1739888 - allow offline website data checkbox label in prefs' sanitize (clear recent history) dialog to wrap, r=preferences-reviewers,jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D132964
2021-12-09 15:58:45 +00:00
Gijs Kruitbosch
41fdc16945
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
a13dc4839b
Bug 1723525 - remove dead references from site data settings dialogs r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D122749
2021-08-17 09:24:07 +00:00
Gijs Kruitbosch
29869758fc
Bug 1721474 - use sentence case in the clear recent history dialog, r=mconley,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D122649
2021-08-14 17:43:14 +00:00
Stefan Zabka
21be4bf64f
Bug 1715499 - Display special dialogue for single base domain r=pbz,fluent-reviewers,preferences-reviewers,flod,Gijs,jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D118729
2021-07-20 18:52:03 +00:00
Nihanth Subramanya
aaa460993f
Bug 1720379 - Also write TRR mode if we write the TRR URI when accepting Connection Settings dialog. r=preferences-reviewers,Gijs
...
We treat clicking "Accept" as a user-choice even if no settings were changed.
We should persist both the TRR mode and URI that were visible in the dialog
at the time of acceptance of the dialog.
Differential Revision: https://phabricator.services.mozilla.com/D119877
2021-07-16 18:25:55 +00:00
Alexandru Michis
16ededf757
Backed out changeset ce1ef542fb6c (bug 1720379) for causing bc failures in browser_connection_dnsoverhttps.js
...
CLOSED TREE
2021-07-16 19:56:17 +03:00
Nihanth Subramanya
6da08708bc
Bug 1720379 - Also write TRR mode if we write the TRR URI when accepting Connection Settings dialog. r=preferences-reviewers,Gijs
...
We treat clicking "Accept" as a user-choice even if no settings were changed.
We should persist both the TRR mode and URI that were visible in the dialog
at the time of acceptance of the dialog.
Differential Revision: https://phabricator.services.mozilla.com/D119877
2021-07-16 16:05:34 +00:00
Matthew Noorenberghe
dcd8e276b4
Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
...
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.
Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 15:04:23 +00:00
Noemi Erli
3b5816e7f2
Backed out 3 changesets (bug 970675) for causing failures in browser_privatebrowsing_popupblocker.js CLOSED TREE
...
Backed out changeset 98f78b0795b7 (bug 970675)
Backed out changeset ec59b5b4094a (bug 970675)
Backed out changeset 5a1853ea9693 (bug 970675)
2021-07-12 17:38:14 +03:00
Matthew Noorenberghe
0a4bdbde1f
Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
...
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.
Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 13:53:44 +00:00
Paul Zuehlcke
87e75fd596
Bug 1712170 - Update preferences siteData dialog to list entries by base domain. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D116863
2021-07-06 21:11:00 +00:00
Paul Zuehlcke
f17834bd48
Bug 1711869 - Part 4: Update site data removal confirmation dialog for SiteDataManager base domain changes. r=johannh,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D116862
2021-07-06 21:10:59 +00:00
Nihanth Subramanya
9cf010bc4d
Bug 1718097 - Use DoHConfigController.currentConfig.enabled instead of doh-rollout.enabled in about:preferences. r=preferences-reviewers,mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D118752
2021-06-24 21:26:47 +00:00
Nihanth Subramanya
c0a7d41797
Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
...
Depends on D116798
Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 23:28:16 +00:00
Dorel Luca
c0d5cda63d
Backed out 2 changesets (bug 1713036, bug 1714486) for XPCshell failures in netwerk/test/unit/test_trr.js. CLOSED TREE
...
Backed out changeset 06c40198b074 (bug 1713036)
Backed out changeset 41800e77c675 (bug 1714486)
2021-06-23 23:02:46 +03:00
Nihanth Subramanya
8796d95833
Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
...
Depends on D116798
Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 15:24:01 +00:00
Cosmin Sabou
cb3fbb9a1f
Backed out 3 changesets (bug 1714486, bug 1713036) for xpcshell failures on test_trr.js. CLOSED TREE
...
Backed out changeset 5161c4f25f80 (bug 1713036)
Backed out changeset 6ce07df62710 (bug 1713036)
Backed out changeset c824fe9b4adb (bug 1714486)
2021-06-23 08:00:36 +03:00
Nihanth Subramanya
2c72a2f1e1
Bug 1713036 - Fix some test failures. a=fix
...
CLOSED TREE
Ensure we only remove the DoH config update observer once in the connection dialog code.
await resetPrefs when cleaning up in the dialog test - it's an async function.
Don't forget to reset the regional pref in browser_remoteSettings_newProfile.js
Use the new default provider pref in test_trr_confirmation.js
2021-06-23 06:51:54 +03:00
Nihanth Subramanya
e9f9bc9d31
Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
...
Depends on D116798
Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 02:29:19 +00:00
Valentin Gosu
0bde9079df
Bug 1713356 - Remove FTP reference from proxy config panel r=necko-reviewers,fluent-reviewers,preferences-reviewers,flod,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D116372
2021-06-01 07:43:29 +00:00
julianwels
7be2b311c8
Bug 1662710 - Added UI to manage HTTPS-Only Mode exceptions from about:preferences. r=flod,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D102401
2021-05-27 20:07:32 +00:00
Dorel Luca
bb359d80bd
Backed out changeset ccdbd76fc479 (bug 1662710) for Browser-chrome failures in toolkit/components/passwordmgr/test/browser/browser_exceptions_dialog.js. CLOSED TREE
2021-05-27 19:03:46 +03:00
julianwels
ceef73535a
Bug 1662710 - Added UI to manage HTTPS-Only Mode exceptions from about:preferences. r=flod,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D102401
2021-05-27 14:30:30 +00:00
Valentin Gosu
66643c5bf0
Bug 1574475 - Remove FTP proxy code r=necko-reviewers,preferences-reviewers,mixedpuppy,mkaply,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D111248
2021-04-28 09:33:46 +00:00