Commit graph

974 commits

Author SHA1 Message Date
Mike Kaply
c07d0da21a Bug 1919318 - Don't set SOCKS proxy for UseHTTPProxyForAllProtocols. a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D222497

Differential Revision: https://phabricator.services.mozilla.com/D222788
2024-09-20 01:17:04 +00:00
Mike Kaply
62bd2b97d1 Bug 1675077 - Add policy for PrivateBrowsingModeAvailability. a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D216315

Differential Revision: https://phabricator.services.mozilla.com/D222289
2024-09-17 01:30:51 +00:00
Michael Kaply
4e591050fa Bug 1892961 - Add support for addons that can only be installed via policy. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D211987

Differential Revision: https://phabricator.services.mozilla.com/D213933
2024-06-18 00:19:22 +00:00
John Schanck
ec488de9a4 Bug 1892528 - part 3: update PostQuantumKeyAgreementEnabled enterprise policy. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D211300
2024-06-05 16:51:38 +00:00
Sidharth Sachdev
2f9b97b28f 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
Manuel Bucher
5205854e55 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
Robin Steuber
c288841e23 Bug 1875502 - Fix tests broken by the previous patch stack that standardizes update initialization r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204129
2024-05-16 20:01:55 +00:00
Robin Steuber
6fbd565f7c Bug 1875502 - Pre: Move update manager reload functionality into nsIUpdateManagerInternal r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209107
2024-05-16 20:01:47 +00:00
Daisuke Akatsuka
4ac50f3930 Bug 1894821: Throw NS_ERROR_FILE_TOO_BIG if the favicon data size is over than MAX_FAVICON_BUFFER_SIZE r=places-reviewers,mak,migration-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D210261
2024-05-15 21:42:59 +00:00
Sandor Molnar
d2115d8eec 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
722546fd39 Bug 1875502 - Fix tests broken by the previous patch stack that standardizes update initialization r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204129
2024-05-15 17:06:19 +00:00
Robin Steuber
978e733033 Bug 1875502 - Pre: Move update manager reload functionality into nsIUpdateManagerInternal r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209107
2024-05-15 17:06:11 +00:00
Malte Juergens
cec58f13d0 Bug 1882559 - Expose Mixed Content Level 2 and GPC prefs to Enterprise Policies r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D210147
2024-05-14 10:51:10 +00:00
Mike Kaply
2f9ab8fab6 Bug 1895341 - Add install_type "admin" to the management API. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D209582
2024-05-09 19:30:08 +00:00
Tamas Szentpeteri
618f1268a4 Backed out changeset 9d36e2074dc3 (bug 1895341) for causing xpcshell failures in test_extensionsettings.js. CLOSED TREE 2024-05-09 18:50:20 +03:00
Mike Kaply
325aad9e05 Bug 1888548 - Add policies for HTTPS only mode. r=freddyb,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D208195
2024-05-09 15:18:00 +00:00
Mike Kaply
77df504ec8 Bug 1895341 - Add install_type "admin" to the management API. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D209582
2024-05-09 14:58:53 +00:00
John Schanck
297a00d4cd Bug 1894068 - add a policy for post-quantum key agreement. r=mkaply,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D208934
2024-05-03 04:01:25 +00:00
Tamas Szentpeteri
d5a98af513 Backed out changeset 47020ae49c1d (bug 1894068) for causing xpcshell failures in test_sorted_alphabetically.js. CLOSED TREE 2024-05-03 02:48:35 +03:00
John Schanck
4b6a90d349 Bug 1894068 - add a policy for post-quantum key agreement. r=mkaply,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D208934
2024-05-02 22:58:49 +00:00
Daisuke Akatsuka
22fab2b70a Bug 1552815: Use setFaviconForPage() instead of replaceFaviconDataFromDataURL() r=sync-reviewers,mak
Depends on D192535

Differential Revision: https://phabricator.services.mozilla.com/D192536
2024-05-01 20:40:50 +00:00
Stanca Serban
a5a1a182a7 Backed out 5 changesets (bug 1552815) for causing bp-nu bustages in nsFaviconService.cpp. CLOSED TREE
Backed out changeset 4be83e948d32 (bug 1552815)
Backed out changeset 0b2d40719586 (bug 1552815)
Backed out changeset c17e4da85514 (bug 1552815)
Backed out changeset c66812747d09 (bug 1552815)
Backed out changeset 62b3d85f4ca3 (bug 1552815)
2024-05-01 09:58:57 +03:00
Daisuke Akatsuka
5f1f25fe86 Bug 1552815: Use setFaviconForPage() instead of replaceFaviconDataFromDataURL() r=sync-reviewers,mak
Depends on D192535

Differential Revision: https://phabricator.services.mozilla.com/D192536
2024-05-01 05:47:08 +00:00
Greg Stoll
07af27b0ac Bug 1880314 - add a default warn setting to Content Analysis r=dlp-reviewers,handyman
Differential Revision: https://phabricator.services.mozilla.com/D208039
2024-04-26 22:51:55 +00:00
Emily McMinn
19417a7b72 Bug 1887038 - Clean up whatsNewPanel pref and policies outside Messaging System r=webdriver-reviewers,desktop-theme-reviewers,mkaply,pdahiya,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D207484
2024-04-26 15:31:30 +00:00
Stanca Serban
708910a8f3 Backed out 5 changesets (bug 1552815) for causing bp-nu bustages in nsFaviconService.cpp.
Backed out changeset 08a2ac7a9834 (bug 1552815)
Backed out changeset bb9854e6ffe7 (bug 1552815)
Backed out changeset 4e06ccb2599e (bug 1552815)
Backed out changeset d28dd2aec9f4 (bug 1552815)
Backed out changeset 392389a8d495 (bug 1552815)
2024-04-24 03:03:10 +03:00
Daisuke Akatsuka
92ec2b1e52 Bug 1552815: Use setFaviconForPage() instead of replaceFaviconDataFromDataURL() r=sync-reviewers,mak
Depends on D192535

Differential Revision: https://phabricator.services.mozilla.com/D192536
2024-04-23 23:21:38 +00:00
dschomburg
e63de59f5c Bug 1853818 - Remove toolkit/branding/accounts.ftl file r=flod,fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,mconley,aminomancer,mak,sgalich,nsharpley,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D190612
2024-04-22 16:24:30 +00:00
Dennis Jackson
212d70c505 Bug 1891470 - Add an Enterprise Policy for Encrypted Client Hello. r=jschanck,mkaply,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D207436
2024-04-17 09:52:03 +00:00
Greg Stoll
37d28f9cf5 Bug 1869868 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D205744
2024-04-15 12:10:46 +00:00
Yi Xiong Wong
ba5a094f31 Bug 1880914 - Move BrowserOpenAddonsMgr. r=Gijs,extension-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,robwu,thecount
Differential Revision: https://phabricator.services.mozilla.com/D207110
2024-04-15 10:22:46 +00:00
Yi Xiong Wong
20b6fd6c05 Bug 1880914 - Move BrowserPageInfo. r=Gijs,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206199
2024-04-08 17:21:02 +00:00
Harshit Sohaney
79f048ad1a Bug 1888673 - Add new clearOnShutdown prefs to policy. r=pbz,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D206513
2024-04-05 18:28:47 +00:00
Greg Stoll
eaf70facf0 Bug 1888662 - add a few missing policies for Content Analysis r=dlp-reviewers,mkaply,handyman
Differential Revision: https://phabricator.services.mozilla.com/D206112
2024-04-02 11:25:22 +00:00
Mike Kaply
68c27eb7c2 Bug 1885362 - Don't set/lock folderList when download dir is set. r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D206116
2024-04-02 05:02:29 +00:00
Mike Kaply
f8563bb31c Bug 1876555 - Locking Proxy policies should always lock prefs. r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D206011
2024-03-28 16:00:05 +00:00
Luca Greco
4b62f693f8 Bug 1885652 - Add Enterprise Policies setting to allow installing XPI files signed using deprecated signatures algorithms. r=mkaply,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D204814
2024-03-27 20:34:18 +00:00
Mike Kaply
eb61905496 Bug 1886199 - Allow enabling containers via policy without the extension. r=sdk
Differential Revision: https://phabricator.services.mozilla.com/D205320
2024-03-26 12:54:32 +00:00
Gregory Pappas
3f860e3e9f Bug 1861325 - Implement TranslateEnabled enterprise policy r=mkaply,translations-reviewers,fluent-reviewers,bolsson,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D205157
2024-03-20 20:40:22 +00:00
Cristian Tuns
ee0a3c904c Backed out changeset 878905289052 (bug 1861325) for causing lint failures in policies-descriptions.ftl CLOSED TREE 2024-03-20 14:14:06 -04:00
Gregory Pappas
f80735f7ff Bug 1861325 - Implement TranslateEnabled enterprise policy r=mkaply,translations-reviewers,fluent-reviewers,bolsson,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D205157
2024-03-20 17:42:06 +00:00
Mark Banner
23a339fc7c Bug 1885723 - Fix more jsm references in browser/. r=Gijs,credential-management-reviewers,omc-reviewers,aminomancer,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D204843
2024-03-19 22:08:29 +00:00
Dave Townsend
a9a51bf046 Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203005
2024-03-19 09:36:35 +00:00
Mark Banner
126357c138 Bug 1882577 - Make nsISearchEngine.getIconURL an async function. r=search-reviewers,extension-reviewers,settings-reviewers,robwu,mcheang,mak
Differential Revision: https://phabricator.services.mozilla.com/D203026
2024-03-13 14:51:06 +00:00
Mark Banner
e997490209 Bug 1884623 - Update Enterprise Policy related logging and modules to avoid jsm references. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D204181
2024-03-11 15:26:28 +00:00
David P
ad262e4950 Bug 1882601: Add content analysis config to enterprise policy r=gstoll,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D203339
2024-03-08 19:37:04 +00:00
David P
137a9b48fe Bug 1862066: Allow CA enabled when pref is set by enterprise policy or is set alongside command line arg r=gstoll,mkaply,fluent-reviewers,bolsson
Content analysis should not be turned on without an enterprise policy
requiring it or the -allow-content-analysis command-line argument is passed
(which is intended to be used for development).

Differential Revision: https://phabricator.services.mozilla.com/D203331
2024-03-08 18:15:28 +00:00
Mike Kaply
6d6a154f3b Bug 1677524 - Add policies for credit card and address autofill. r=sgalich,fluent-reviewers,bolsson,dimi
Differential Revision: https://phabricator.services.mozilla.com/D202733
2024-03-05 15:25:16 +00:00
Gregory Pappas
1dfbfcfd07 Bug 1878401 - part 7 - Pass BrowsingContext to nsIFilePicker::Init in tests r=extension-reviewers,settings-reviewers,credential-management-reviewers,anti-tracking-reviewers,devtools-reviewers,sgalich,pbz,nchevobbe,zombie,migration-reviewers,mconley
Depends on D200551

Differential Revision: https://phabricator.services.mozilla.com/D200552
2024-02-28 21:29:39 +00:00
Sandor Molnar
3951121cc6 Backed out 8 changesets (bug 1878401, bug 1879041) for causing build bustages on widget/nsBaseFilePicker.cpp CLOSED TREE
Backed out changeset 2e2b8df3bdd6 (bug 1879041)
Backed out changeset 6d6952f9df2c (bug 1878401)
Backed out changeset 30b5bb590d3e (bug 1878401)
Backed out changeset 9a4b830334b9 (bug 1878401)
Backed out changeset 3c3d67f1fcb7 (bug 1878401)
Backed out changeset c83ba4026822 (bug 1878401)
Backed out changeset 6bcb670ce475 (bug 1878401)
Backed out changeset f263b196df96 (bug 1878401)
2024-02-28 17:56:48 +02:00