Commit Graph

3620 Commits

Author SHA1 Message Date
Dale Harvey
6792fc1ac4 Bug 1699316 - Implement QuickActions and a new Actions urlbar search mode r=adw,preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D143585
2022-07-05 14:11:09 +00:00
mcheang
27d628ba02 Bug 1777278 - Change all references of originalEngine to appDefaultEngine in search. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D150599
2022-06-30 19:26:20 +00:00
Michael Kohler
9411e8107e Bug 1761513 - Remove Engine(about:preferences#search) should be disabled for current Default Engine r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D148389
2022-06-30 11:44:30 +00:00
Andre Natal
85ff5fcb87 Bug 1776814: Incorporate data-subcategory to Firefox Translations panel on about:preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150446
2022-06-28 16:24:32 +00:00
Paul Zuehlcke
d87c68d249 Bug 1774739 - Update ETP preferences section for TCP in standard mode. r=anti-tracking-reviewers,preferences-reviewers,Gijs,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D150364
2022-06-28 10:24:49 +00:00
Ryan VanderMeulen
5a3c54219d Bug 1776496 - Re-enable some passing browser-chrome tests. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150280
2022-06-27 13:57:41 +00:00
Paul Zuehlcke
8f9f524436 Bug 1776403 - Strings for updated TCP preferences section. r=bvandersloot,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D150235
2022-06-27 00:17:55 +00:00
Iulian Moraru
6c86aa67f1 Backed out changeset 330755349d44 (bug 1776403) for causing osx cross compiled shippable build bustage. CLOSED TREE 2022-06-25 15:48:00 +03:00
Paul Zuehlcke
85c324a8c9 Bug 1776403 - Strings for updated TCP preferences section. r=bvandersloot,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D150235
2022-06-25 08:41:19 +00:00
hanna alemu
9048112521 Bug 1767066 - Remove More from Mozilla "advanced" pane r=mviar,fluent-reviewers,preferences-reviewers,pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149665
2022-06-23 22:28:53 +00:00
Marian-Vasile Laza
007e0aefd7 Backed out changeset 0913ab5fe7fc (bug 1767066) for causing bustages on img-mobile.svg. CLOSED TREE 2022-06-23 20:56:49 +03:00
Joel Maher
2743cca01a Bug 1776212 - cleanup e10s in manifest conditions for bc/dt. r=aryx,necko-reviewers,extension-reviewers,preferences-reviewers,dragana,zombie
Differential Revision: https://phabricator.services.mozilla.com/D150127
2022-06-23 17:49:07 +00:00
hanna alemu
7e3301305a Bug 1767066 - Remove More from Mozilla "advanced" pane r=mviar,fluent-reviewers,preferences-reviewers,pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149665
2022-06-23 17:23:25 +00:00
Mathew Hodson
aea8912fa2 Bug 1325637 - Remove browser.preferences.instantApply pref. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149699
2022-06-22 12:39:16 +00:00
Michael Kohler
5a624315e2 Bug 1704108 - Remove expired Telemetry probe browser_home_page_count r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D148984
2022-06-13 11:18:27 +00:00
Michael Kohler
e21bde362a Bug 1703132 - Remove expired Telemetry probe preferences.browser_home_page_change r=preferences-reviewers,mstriemer DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148354
2022-06-07 11:13:33 +00:00
Tooru Fujisawa
d1bd5e4401 Bug 1771463 - Do not export lazy getter "fxAccounts" from services/fxaccounts/FxAccounts.jsm. r=markh,preferences-reviewers,Mardak
Instead of exporting lazy getter, export a function that returns the FxAccount
singleton, lazily creating on the first call, and define the lazy getter on the
consumer side that calls the function.

Differential Revision: https://phabricator.services.mozilla.com/D147634
2022-05-31 14:09:10 +00:00
Cosmin Sabou
dd73bafd11 Backed out changeset 697ab99d1c61 (bug 1771463) for causing node newtab failures. CLOSED TREE 2022-05-31 07:16:41 +03:00
Tooru Fujisawa
7f15e8996c Bug 1771463 - Do not export lazy getter "fxAccounts" from services/fxaccounts/FxAccounts.jsm. r=markh,preferences-reviewers
Instead of exporting lazy getter, export a function that returns the FxAccount
singleton, lazily creating on the first call, and define the lazy getter on the
consumer side that calls the function.

Differential Revision: https://phabricator.services.mozilla.com/D147634
2022-05-31 03:12:22 +00:00
Gijs Kruitbosch
faf9940044 Bug 1707462 - use system localized paths for settings' download folder display, and don't show 'Downloads' on Linux if that's not the folder's name, r=mak
Depends on D143480

Differential Revision: https://phabricator.services.mozilla.com/D143481
2022-05-23 21:57:03 +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
Hannah Peuckmann
84fc37682a Bug 1681495 - Switch clear cookies and site data checkbox to control sanitization prefs. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D140345
2022-05-19 14:08:16 +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
Andrew McCreight
5cedd55c3f Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.

The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)

The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Paul Zuehlcke
4467c12b78 Bug 1763660 - Add query parameter stripping pref to ETP strict. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D143513
2022-05-17 10:42:16 +00:00
Mike Kaply
8aa602bdad Bug 1568275 - Disable deceptive content prefs when locked. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D144476
2022-05-10 20:13:35 +00:00
Hanna Jones
5bd2bf377e Bug 1766318 - replace is='text-link' with <html:a> in preferences.xhtml r=preferences-reviewers,Gijs
These changes replicate the exact appearance and behaviour of `<label is="text-link">`. There are a few possible enhancements not tackled here, as this is the simplest possible migration implementation:

* We could switch to using `button` elements in this case, based on the styling and the fact that the `addonsButton` has some additional behaviour on top of navigation. This would necessitate re-working the current style rules a bit.
* Somewhat relatedly, we could change the `helpButton` and `about:policies` anchor elements to always switch tabs if the link has already been clicked/opened, rather than always opening in a new tab

Differential Revision: https://phabricator.services.mozilla.com/D144624
2022-05-04 17:53:27 +00:00
Shane Hughes
28555896fc Bug 1767367 - Fix inverted useDownloadDir pref. r=dao,preferences-reviewers,Gijs
I forgot to add a property in bug bug 1762775.
This patch just resolves that.

Differential Revision: https://phabricator.services.mozilla.com/D145289
2022-05-03 11:57:08 +00:00
Gijs Kruitbosch
2a681bd429 Bug 1766156 - stop adding '#general' to the about:preferences URL when going back to the main pane, to fix back/fwd navigation, r=sclements,preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D144993
2022-04-29 10:09:22 +00:00
Shane Hughes
19d105fe6d Bug 1762775 - Change download folder display in prefs UI. r=Gijs,fluent-reviewers,preferences-reviewers,desktop-theme-reviewers,dao,flod
The default download folder prefs are now counterintuitively used
whether browser.download.useDownloadDir is enabled or not, since we no
longer save downloads to the "temp" folder. But the display for these
prefs in about:preferences makes it seem as though the configured path
will not be used if the "Always ask..." option is selected. This patch
removes the radiogroup and replaces it with a checkbox, so that the
download folder path can be changed irrespective of useDownloadDir's
value (unless browser.download.dir is disabled by policy).

Differential Revision: https://phabricator.services.mozilla.com/D143555
2022-04-28 19:49:17 +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
Paul Zuehlcke
72c1705b00 Bug 1766401 - Integrate tcpByDefault Nimbus feature. r=timhuang,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D144719
2022-04-27 10:35:51 +00:00
Shane Hughes
0604bb580c Bug 1747343 - Add pref to set default action for new mimetypes. r=Gijs,fluent-reviewers,preferences-reviewers
When downloading a file, we check for existing mime types and construct
a new one if it's unrecognized. Mime types have a flag,
alwaysAskBeforeHandling, that determines whether the unknown content
type dialog should be opened before handling the file. Before bug
1733492, the default value for that flag was simply true. Since the new
downloads flow is intended to avoid unnecessary steps, the default value
was changed to the inverted value of the new downloads panel
improvements pref. This patch adds a new pref that the mime info
constructor will read in configuring the flag's value. If the
improvements pref is not enabled, then the flag will be true, so the UCT
dialog will open. If the improvements pref is enabled, then it'll use
the value of the new pref. Also add a an interface for the pref to the
about:preferences UI, and automatically migrate a false value for
browser.download.improvements_to_download_panel to a true value for this
pref. I'm updating some tangentially related test files since they
happen to be touched slightly by this change. Strictly speaking they
would still work, but if the pref value was somehow changed from the
default they would fail.

Differential Revision: https://phabricator.services.mozilla.com/D143002
2022-04-15 18:13:11 +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
Paul Zuehlcke
8348f10f2b Bug 1741597 - Revert cookie behavior to initial default value when dFPI rollout pref is set to false. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D131348
2022-04-14 16:32:34 +00:00
Mike Kaply
1f239d1e44 Bug 1711719 - Disable new tab menulist if preference is locked. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D143610
2022-04-13 17:56:37 +00:00
Butkovits Atila
0a0a5f66a3 Backed out changeset 543a78ca4fa9 (bug 1747343) for causing mochitest failures at browser_bug676619.js. CLOSED TREE 2022-04-13 03:31:53 +03:00
Shane Hughes
d59826c8a2 Bug 1747343 - Add pref to set default action for new mimetypes. r=Gijs,fluent-reviewers,preferences-reviewers
When downloading a file, we check for existing mime types and construct
a new one if it's unrecognized. Mime types have a flag,
alwaysAskBeforeHandling, that determines whether the unknown content
type dialog should be opened before handling the file. Before bug
1733492, the default value for that flag was simply true. Since the new
downloads flow is intended to avoid unnecessary steps, the default value
was changed to the inverted value of the new downloads panel
improvements pref. This patch adds a new pref that the mime info
constructor will read in configuring the flag's value. If the
improvements pref is not enabled, then the flag will be true, so the UCT
dialog will open. If the improvements pref is enabled, then it'll use
the value of the new pref. Also add a an interface for the pref to the
about:preferences UI, and automatically migrate a false value for
browser.download.improvements_to_download_panel to a true value for this
pref. I'm updating some tangentially related test files since they
happen to be touched slightly by this change. Strictly speaking they
would still work, but if the pref value was somehow changed from the
default they would fail.

Differential Revision: https://phabricator.services.mozilla.com/D143002
2022-04-12 22:32:45 +00:00
Neil Deakin
2f56ba879f Bug 1759984, always show pdf in applications list even when the internal pdf viewer is disabled, r=Gijs,preferences-reviewers
In addition, if someone has pdf set to open internally but then disables the pdf viewer, an error occurs when trying to view a pdf. Handle this case by just asking what to do.

Differential Revision: https://phabricator.services.mozilla.com/D143313
2022-04-12 16:02:28 +00:00
Mike Kaply
a83f31cc7d Bug 1499095 - Remove engines hidden by policy after restoring defaults. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142888
2022-04-12 14:58:45 +00:00
Punam Dahiya
c34f55fcf7 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
Gijs Kruitbosch
edda40141b Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay
e1d7571cc8 Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch
1214ac636b Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
Greg Tatum
255724edea Bug 1758730 - Ensure no errors or warning show on search engine prefs; r=Standard8
The live language reloading triggers code that will run that assumes the view
is visible, when in fact it may not be on the dom. This fixes that. In addition
it fixes the error where the engine tries to update after it has been removed.

Differential Revision: https://phabricator.services.mozilla.com/D141685
2022-03-28 19:08:49 +00:00
Greg Tatum
197c0886b9 Bug 1758730 - Reload search preferences UI on live language switch; r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D141684
2022-03-28 19:08:48 +00:00
Greg Tatum
ae3edd02be Bug 1758730 - Slightly refactor search engine code; r=Standard8
This is to minimize the upcoming code diff fixing live language switching
for this code.

Differential Revision: https://phabricator.services.mozilla.com/D141683
2022-03-28 19:08:48 +00:00
Tim Huang
64d37cf5f0 Bug 1734328 - Part 4: Add disallow relaxing referrer policies for top navigation to the ETP strict list. r=anti-tracking-reviewers,preferences-reviewers,pbz
This patch effectively enables the disallow relaxing referrer policies
for top navigations in ETP strict mode. It adds a ETP strict flag 'rpTop'
and set it in the strict feature list.

Differential Revision: https://phabricator.services.mozilla.com/D141869
2022-03-28 10:32:52 +00:00
Meg Viar
9e6c3b20df Bug 1758028 - Implement PBM modal content as per finalized design r=pdahiya,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140739
2022-03-23 14:03:18 +00:00