Commit Graph

4290 Commits

Author SHA1 Message Date
Tim Huang
ac6f31da0d Bug 1898255 - Enable third-party cookie deprecation in ETP strict and PBM. r=anti-tracking-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,pbz,mak
Differential Revision: https://phabricator.services.mozilla.com/D212547
2024-06-12 12:08:54 +00:00
Dale Harvey
27e7b6422f Bug 1900601 - Dont enter search mode when '>' is pressed. r=daisuke,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212558
2024-06-07 13:32:36 +00:00
Emilio Cobos Álvarez
3008f7bfed Bug 1901194 - Fix a test I missed.
MANUAL PUSH: Trivial fix CLOSED TREE
2024-06-07 15:35:29 +02:00
Emilio Cobos Álvarez
9e7668fdbe Bug 1901194 - Remove useless tail-with-learn-more class on <span>s. r=settings-reviewers
It doesn't do anything on a span so it's just confusing.

Differential Revision: https://phabricator.services.mozilla.com/D212902
2024-06-07 12:11:23 +00:00
Francesco Lodolo (:flod)
f4c285d3a4 Bug 1901191 - Tweak use of moz-support-link in privacy-preserving setting, r=emilio,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212900
2024-06-07 10:35:02 +00:00
Ed Lee
6c8091193e Bug 1894999 - Expose chat prefs via experiments featuregate r=tarek,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D209639
2024-06-07 04:28:22 +00:00
Emilio Cobos Álvarez
07889c29e7 Bug 1901068 - Setting for privacy-preserving attribution. r=mt,settings-reviewers,fluent-reviewers,mconley,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D211656
2024-06-06 17:22:07 +00:00
Sidharth Sachdev
70d35a30e4 Bug 1898884 - Disabling and hiding the OS Authentication checkboxes when "security.nocertdb" is true. r=Gijs,settings-reviewers,credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D212744
2024-06-06 14:44:25 +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
Gijs Kruitbosch
9962ebd5a0 Bug 1896187 - make FeatureGate 'features to try' page use the same jexl filtering as Nimbus, r=barret,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D210086
2024-06-05 13:10:49 +00:00
Sean
05c9da18d0 Bug 1861285 - DNS-over-HTTPS (DoH, TRR) provider change from default to increased/max protection set network.trr.uri to fallbackProviderURI while maintaining other mode changes r=edgul,valentin,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D209805
2024-06-05 13:03:11 +00:00
Mark Striemer
e6dff4fa84 Bug 1896837 - Only sync import widget modules after DOMContentLoaded r=reusable-components-reviewers,settings-reviewers,mconley,hjones
Co-author/investigator: Tim Giles <tgiles@mozilla.com>

Delay sychronous loading of ESM based custom elements until the
DOMContentLoaded event. With D212190--which this patch depends on--the
components that have already been used on the page will be synchronously
loaded when customElements.setElementCreationCallback is registered.

Differential Revision: https://phabricator.services.mozilla.com/D212191
2024-06-04 23:18:01 +00:00
DJ
fde850ee0c Bug 1893676 - enable tab previews by default in Nightly builds. r=mconley,tabbrowser-reviewers,dao,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208766
2024-06-03 16:54:29 +00:00
Javier Rueda
9bd6329fe4 Bug 1896527 - Add aria-labelledby attribute so a11y checks pass. r=mconley,settings-reviewers,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D210457
2024-05-29 16:17:09 +00:00
Henry Wilkes
27df525213 Bug 1851618 - Allow removing packaged locales from requestedLocales. r=settings-reviewers,eemeli,Gijs
We open up the UI to allow the user to remove locales from their
requestedLocales list, except for the default locale.

Differential Revision: https://phabricator.services.mozilla.com/D209930
2024-05-29 11:10:18 +00:00
Manuel Bucher
992ee2f190 Bug 1454850 - Add "Proxy DNS when using SOCKS v4" option to proxy preferences r=necko-reviewers,fluent-reviewers,settings-reviewers,bolsson,Gijs,valentin
With Bug 1741375 this is a separate config variable.

Differential Revision: https://phabricator.services.mozilla.com/D211060
2024-05-28 11:41:39 +00:00
Harshit Sohaney
684fe813a7 Bug 1892947 - (part 2) tests for clear cookies and site data on shutdown pref alignment with new clear history dialog. r=pbz,settings-reviewers
Depends on D208410

Differential Revision: https://phabricator.services.mozilla.com/D208411
2024-05-25 15:19:13 +00:00
Harshit Sohaney
052d9f0b26 Bug 1892947 - Align clear on shutdown for cookies and site data section prefs to the new clear on shutdown prefs. r=pbz,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D208410
2024-05-25 15:19:13 +00:00
Mark Banner
fa380ac5a9 Bug 1897508 - Separate out search engine icon updates into a separate notification subject. r=search-reviewers,settings-reviewers,mcheang
This also avoids sending an engine-update Glean event for the default engine by not handling the engine-icon-update
notification in the update tracking code.

Differential Revision: https://phabricator.services.mozilla.com/D210838
2024-05-24 09:10:05 +00:00
Manuel Bucher
acacdfe55c Bug 1741375 - Proxy DNS by default when using SOCKS v5 r=necko-reviewers,extension-reviewers,kershaw,perftest-reviewers,robwu,sparky
Initially reported and discussed in Bug 610896.

The simple solution of just flipping the pref `network.proxy.socks_remote_dns`
is risky due to potentially breaking SOCKS4 proxy users.  Proxying
DNS on SOCKS4 isn't supported.  Therefore we speak the incompatible
SOCKS4a protocol when `socks_remote_dns` is enabled, potentially
breaking users setup.

To keep backwards compatibility on SOCKS4 proxy users, that don't have
SOCKS4a support, the pref `network.proxy.socks_remote_dns` is split into
two prefs:

* `network.proxy.socks_remote_dns`: remote DNS for SOCKS4
* `network.proxy.socks5_remote_dns`: remote DNS for SOCKS5.

This way we proxy DNS by default on SOCKS5 while keeping user settings
on SOCKS4.  This is a similar approach to the one described in
[Bug 610896 comment 17].

Proxying DNS in SOCKS4 by default is desireable (See [Bug 610896 comment 11]),
but out of scope for this patch.  [Telemetry] on proxy usage by socks
version indicated that changing the default for SOCKS4 is likely break
some users setup and needs to be taken with more care.

The default values of [proxyDNS] now defaults to true for SOCKS5 proxies.
When creating nsIProxyInfo objects of SOCKS4 proxies, the default value
false is kept.  Setting proxyDNS affects both SOCKS4 and SOCKS5 proxy by
modifying both `socks_remote_dns` and `socks5_remote_dns`.  Therefore no
extension breakage is expected.

The enterprise policy can also modify the new pref
`network.proxy.socks5_remote_dns`.

Follow up bugs filed while implementing:

* Bug 1890542 - Also disable Prefetch non-manual configurations of socks
                proxy
* Bug 1890554 - Use `ProxyInfo::TRANSPARENT_PROXY_RESOLVES_HOST` flag in
                `nsHttpChannel::GetProxyDNSStrategy`
* Bug 1890549 - nsHttpChannel implementation DNS resolve strategy for
                proxies incomplete
* Bug 1893670 - Proxy DNS by default for SOCK4 proxies. Defaulting to
                SOCKS4a

[Bug 610896 comment 17]: https://bugzilla.mozilla.org/show_bug.cgi?id=610896#c17
[Bug 610896 comment 11]: https://bugzilla.mozilla.org/show_bug.cgi?id=610896#c11
[Telemetry]: https://bugzilla.mozilla.org/show_bug.cgi?id=1741375#c27
[proxyDNS]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/proxy/settings#proxydns

Differential Revision: https://phabricator.services.mozilla.com/D207532
2024-05-21 11:55:26 +00:00
Tarik Eshaq
8ff840ac17 Bug 1887739: Removes force_auth fxa path and uses connect path instead.r=markh,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208783
2024-05-17 18:00:06 +00:00
Robin Steuber
7781a2ef8f Bug 1875502 - Create standardized update init flow r=nalexander,settings-reviewers,application-update-reviewers
A number of changes are made as part of this patch:
 - A consistent way of initializing update is created. This is automatically run when methods that need it are invoked.
 - The "post-update-processing" notification has been removed. Post update processing is now done through the new `nsIApplicationUpdateService.init` or `nsIApplicationUpdateService.internal.postUpdateProcessing`.
 - Post update processing no longer waits for the sessionstore-windows-restored observer service notification
 - Post update processing is no longer invoked only when the `update.status` file exists. It is now run unconditionally.
 - Explicitly initialize before we potentially clean up updates from the update UI.

Note that the update service stub and a few consumers of it ought to be able to wait for post update processing to be done but they currently do not. That will be done later in this patch stack when we rework the stub.

Differential Revision: https://phabricator.services.mozilla.com/D209126
2024-05-16 20:01:53 +00:00
Robin Steuber
3eb68a492d Bug 1875502 - Pre: Make AUS's readyUpdate async r=nalexander,settings-reviewers,application-update-reviewers
Aside from tests (which will be in the next patch in the stack), this specifically leaves two instances of readyUpdate unchanged - the one in BrowserContentHandler's `getArgs` and the one in UpdatePing's `_getActiveUpdate`. In both of these cases what is actually wanted is the update that was just installed. It's only because of the (fairly arbitrary) order that things are started up in that `readyUpdate` still happens to contain this value when these things run. Later in this patch stack we will add something more appropriate for this. But in the meantime, it doesn't make sense to convert functions to be asynchronous that will not ultimately need to be asynchronous.

Differential Revision: https://phabricator.services.mozilla.com/D209115
2024-05-16 20:01:49 +00:00
Robin Steuber
819ead360b Bug 1875502 - Pre: Make UpdateManager's history functions async r=nalexander,settings-reviewers,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209113
2024-05-16 20:01:48 +00:00
Robin Steuber
fe7d3691c4 Bug 1875502 - Pre: Make update cleanup functions async r=nalexander,settings-reviewers,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209111
2024-05-16 20:01:47 +00:00
Sandor Molnar
5aee31029c Backed out 23 changesets (bug 1887980, bug 1875502) for causing xpc failures @ toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js CLOSED TREE
Backed out changeset fb53b5f266e2 (bug 1875502)
Backed out changeset 9157c611617d (bug 1875502)
Backed out changeset 924b7230a45e (bug 1875502)
Backed out changeset d83fa2a0c858 (bug 1887980)
Backed out changeset c538de825468 (bug 1875502)
Backed out changeset a6c1ee51eadb (bug 1875502)
Backed out changeset 47bc52e77563 (bug 1875502)
Backed out changeset 54d53947927a (bug 1875502)
Backed out changeset 6bc2601a69bd (bug 1875502)
Backed out changeset 917a4aed3b4b (bug 1875502)
Backed out changeset afa0353ca6a2 (bug 1875502)
Backed out changeset 42ad3c8fe41e (bug 1875502)
Backed out changeset b5f4c67a548b (bug 1875502)
Backed out changeset d47c42d117e3 (bug 1875502)
Backed out changeset a33c98ac118c (bug 1875502)
Backed out changeset b57983b426ba (bug 1875502)
Backed out changeset a013811a156b (bug 1875502)
Backed out changeset 05b53ed47055 (bug 1875502)
Backed out changeset aa0eee306544 (bug 1875502)
Backed out changeset 5736dca8c05b (bug 1875502)
Backed out changeset 6e60ddb35c98 (bug 1875502)
Backed out changeset fcb327ff8717 (bug 1875502)
Backed out changeset 1950b330d253 (bug 1875502)
2024-05-16 00:21:12 +03:00
Robin Steuber
2b97ef7e76 Bug 1875502 - Create standardized update init flow r=nalexander,settings-reviewers,application-update-reviewers
A number of changes are made as part of this patch:
 - A consistent way of initializing update is created. This is automatically run when methods that need it are invoked.
 - The "post-update-processing" notification has been removed. Post update processing is now done through the new `nsIApplicationUpdateService.init` or `nsIApplicationUpdateService.internal.postUpdateProcessing`.
 - Post update processing no longer waits for the sessionstore-windows-restored observer service notification
 - Post update processing is no longer invoked only when the `update.status` file exists. It is now run unconditionally.
 - Explicitly initialize before we potentially clean up updates from the update UI.

Note that the update service stub and a few consumers of it ought to be able to wait for post update processing to be done but they currently do not. That will be done later in this patch stack when we rework the stub.

Differential Revision: https://phabricator.services.mozilla.com/D209126
2024-05-15 17:06:17 +00:00
Robin Steuber
e58f96019c Bug 1875502 - Pre: Make AUS's readyUpdate async r=nalexander,settings-reviewers,application-update-reviewers
Aside from tests (which will be in the next patch in the stack), this specifically leaves two instances of readyUpdate unchanged - the one in BrowserContentHandler's `getArgs` and the one in UpdatePing's `_getActiveUpdate`. In both of these cases what is actually wanted is the update that was just installed. It's only because of the (fairly arbitrary) order that things are started up in that `readyUpdate` still happens to contain this value when these things run. Later in this patch stack we will add something more appropriate for this. But in the meantime, it doesn't make sense to convert functions to be asynchronous that will not ultimately need to be asynchronous.

Differential Revision: https://phabricator.services.mozilla.com/D209115
2024-05-15 17:06:13 +00:00
Robin Steuber
d6a6cc248d Bug 1875502 - Pre: Make UpdateManager's history functions async r=nalexander,settings-reviewers,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209113
2024-05-15 17:06:12 +00:00
Robin Steuber
cbf3c59a2b Bug 1875502 - Pre: Make update cleanup functions async r=nalexander,settings-reviewers,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209111
2024-05-15 17:06:11 +00:00
Nipun Shukla
a788d363d7 Bug 1893341 - Change Firefox launch on login to use Windows StartupTask functions on MSIX r=nalexander,nrishel,settings-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D208567
2024-05-15 15:34:43 +00:00
Tamas Szentpeteri
833395877b Backed out 2 changesets (bug 1893341, bug 1895744) for causing bc failures in browser_windows_launch_on_login_msix.js. CLOSED TREE
Backed out changeset ce5384469c24 (bug 1893341)
Backed out changeset 658645fa9303 (bug 1895744)
2024-05-15 11:24:17 +03:00
Nipun Shukla
3e3ebab8c6 Bug 1893341 - Change Firefox launch on login to use Windows StartupTask functions on MSIX r=nalexander,nrishel,settings-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D208567
2024-05-15 02:54:55 +00:00
Javier Rueda
03ec1bde2b Bug 1896360 - Disable Add button when no language is selected. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D210206
2024-05-13 21:31:26 +00:00
Eric Chen
4289761c82 Bug 1732784 - Discarding an update prompt now removes hamburger menu notification r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209723
2024-05-13 14:22:53 +00:00
Mike Conley
5b979dc884 Bug 1893269 - Build out basic infrastructure for backup management UI. r=backup-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,Gijs,fluent-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D209161
2024-05-09 21:34:35 +00:00
Mike Conley
f680db2687 Bug 1892959 - Stub out initial section for backup management within about:preferences. r=backup-reviewers,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,flod,Gijs,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D209055
2024-05-08 20:37:04 +00:00
Sandor Molnar
da02f8de36 Backed out changeset 5d2a72296044 (bug 1892959) for causing bc failures @ browser/components/preferences/tests/browser_bug731866.js CLOSED TREE 2024-05-08 19:44:06 +03:00
Mike Conley
773e48c40f Bug 1892959 - Stub out initial section for backup management within about:preferences. r=backup-reviewers,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,flod,Gijs,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D209055
2024-05-08 15:21:37 +00:00
Sidharth Sachdev
98e0d52b70 Bug 1403081 - Optionally protect filling of saved logins with OS authentication (including biometrics). r=sgalich,settings-reviewers,fluent-reviewers,flod
Depends on D207219

Differential Revision: https://phabricator.services.mozilla.com/D201276
2024-05-07 04:21:31 +00:00
Cristina Horotan
65bc72d8e5 Backed out 7 changesets (bug 1802809, bug 1890883, bug 1877720, bug 1403081, bug 1877717) for causing bc failures at browser_primaryPassword.js CLOSED TREE
Backed out changeset 7bdafce80724 (bug 1877717)
Backed out changeset 4969f17f935c (bug 1877717)
Backed out changeset d700fbbd7541 (bug 1877717)
Backed out changeset 98e31d4cd373 (bug 1802809)
Backed out changeset c1e8c6c34fcc (bug 1877720)
Backed out changeset 0d8d5e77a93c (bug 1403081)
Backed out changeset 594b7bbecd22 (bug 1890883)
2024-05-06 20:59:20 +03:00
Sidharth Sachdev
0176b1dcff Bug 1403081 - Optionally protect filling of saved logins with OS authentication (including biometrics). r=sgalich,settings-reviewers,fluent-reviewers,flod
Depends on D207219

Differential Revision: https://phabricator.services.mozilla.com/D201276
2024-05-06 15:58:23 +00:00
Stanca Serban
fdfaad305b Backed out 7 changesets (bug 1802809, bug 1877717, bug 1403081, bug 1890883, bug 1877720) for causing localization checks failures in aboutLogins.ftl. CLOSED TREE
Backed out changeset 62eeb65b23bd (bug 1877717)
Backed out changeset 4fde845a1182 (bug 1877717)
Backed out changeset d3124d383693 (bug 1877717)
Backed out changeset 344ac200b360 (bug 1802809)
Backed out changeset 754a1bf3b55e (bug 1877720)
Backed out changeset 961a1121017e (bug 1403081)
Backed out changeset 19b2252a4ccf (bug 1890883)
2024-05-06 18:27:03 +03:00
Sidharth Sachdev
6fd74c4252 Bug 1403081 - Optionally protect filling of saved logins with OS authentication (including biometrics). r=sgalich,settings-reviewers,fluent-reviewers,flod
Depends on D207219

Differential Revision: https://phabricator.services.mozilla.com/D201276
2024-05-06 14:54:16 +00:00
Cosmin Sabou
2873243069 Backed out 6 changesets (bug 1877717, bug 1802809, bug 1890883, bug 1877720, bug 1403081) for causing failures on browser_creditCard_doorhanger_action.
Backed out changeset 8ee572259ac8 (bug 1877717)
Backed out changeset dad0f115e953 (bug 1877717)
Backed out changeset d792b9335db3 (bug 1802809)
Backed out changeset 7610115f0011 (bug 1877720)
Backed out changeset 9c53bcd6a763 (bug 1403081)
Backed out changeset aa4981999347 (bug 1890883)
2024-05-05 20:37:16 +03:00
Sidharth Sachdev
8716cffc2b Bug 1403081 - Optionally protect filling of saved logins with OS authentication (including biometrics). r=sgalich,settings-reviewers,fluent-reviewers,flod
Depends on D207219

Differential Revision: https://phabricator.services.mozilla.com/D201276
2024-05-05 15:59:35 +00:00
Emilio Cobos Álvarez
45b669a6a7 Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange
Stop supporting following the system preference, but keep macOS users
able to switch to just text controls (accessibility.tabfocus=1) in the
settings.

Change the meaning of the "Use the tab key to move focus between form
controls and links" checkbox in the Firefox settings, which was
introduced in bug 1628476 to override the system setting.

The intention, I think was that this checkbox being off resulted in
"follow the system" behavior, but that didn't quite happen due to a bug
in the preferences code (this[1] won't unset the pref, because of
this[2], which means we'll just return 0).

This patch changes it so that the checkbox instead always ignores the
system setting. There will no longer be a Firefox setting (neither in
the UI nor on about:config) that means "follow system setting".

This allows us to somewhat simplify the approach compared to the
previous patch in D196110, and keep the accessibility.tabfocus working
as the source of truth without a migration.

In the future, we can think of migrating accessibility.tabfocus to a
boolean pref, which would allow us to do the cleanups to the preferences
code that D196110 did.

[1]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/browser/components/preferences/main.js#2252
[2]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/toolkit/content/preferencesBindings.js#450,483

Differential Revision: https://phabricator.services.mozilla.com/D208602
2024-05-03 23:10:47 +00:00
Stanca Serban
ba7ef6bf02 Backed out 6 changesets (bug 1802809, bug 1890883, bug 1877717, bug 1403081, bug 1877720) multiple mochitests failures. CLOSED TREE
Backed out changeset 8b238dd69206 (bug 1877717)
Backed out changeset c6e16bf303ed (bug 1877717)
Backed out changeset e4d8856edf45 (bug 1802809)
Backed out changeset 9a6a418a1e45 (bug 1877720)
Backed out changeset b587dcaf8f9f (bug 1403081)
Backed out changeset 17febe56cad6 (bug 1890883)
2024-05-03 22:01:28 +03:00
Sidharth Sachdev
2ca5d5e1dd Bug 1403081 - Optionally protect filling of saved logins with OS authentication (including biometrics). r=sgalich,settings-reviewers,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D201276
2024-05-03 17:23:48 +00:00
Sandor Molnar
781c22a42f Backed out 2 changesets (bug 1892947) due to critical failure with clear on shutdown CLOSED TREE
Backed out changeset 5c4c36caa85d (bug 1892947)
Backed out changeset eeabe25b2ac3 (bug 1892947)
2024-05-03 19:56:31 +03:00