Commit Graph

89 Commits

Author SHA1 Message Date
Mike Kaply
558f3681bd Bug 1741204 - Consolidate cookie policy into one Behavior policy. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D131825
2021-11-23 18:57:53 +00:00
Mike Kaply
16bdde2b1a Bug 1737605 - Parse JSON directly from GPO so it's properly validated. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D129845
2021-11-05 20:10:53 +00:00
raquelvargas
600bed0652 Bug 1733549 - Remove uses of ChromeUtils.import(..., null) in enterprise policy code. r=Standard8,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D129649
2021-11-05 09:49:47 +00:00
Valentin Gosu
93dc0642e3 Bug 1732961 - DNSOverHTTPS policy test should use https r=mkaply
While it doesn't make much of a difference for the prefs, setting them to a
plain http:// scheme makes it be ignored by the TRR implementation and has
no effect. I'd hate it to have other people copy paste this code and not
understand why TRR isn't working.

Differential Revision: https://phabricator.services.mozilla.com/D126958
2021-09-30 11:58:50 +00:00
Geoff Brown
a00c449c2d Bug 1730213 - Explicitly skip tests under browser/ on android; r=ahal
These tests are excluded from android test runs in moz.build. Including
an explicit annotation in each manifest avoids scheduling confusion.
browser-chrome and plain-chrome tests in browser/ are of no concern,
since those test types are never scheduled on android.

Differential Revision: https://phabricator.services.mozilla.com/D125266
2021-09-13 15:22:27 +00:00
Dana Keeler
5a31f9b4a6 Bug 1724072 - allow enabling 3DES only when deprecated versions of TLS are enabled r=rmf
Chrome has removed 3DES completely[0], but we're still seeing some uses of it
in telemetry. Our assumption is that this is either due to old devices that
can't be upgraded, and hence probably use TLS 1.0, or servers that bafflingly
choose 3DES when there are other, better, ciphersuites in common.
This patch allows 3DES to only be enabled when deprecated versions of TLS are
enabled. This should protect users against the latter case (where 3DES is
unnecessary) while allowing them to use it in the former case (where it may be
necessary).

NB: The only 3DES ciphersuite gecko makes possible to enable is
TLS_RSA_WITH_3DES_EDE_CBC_SHA. This patch also changes the preference
corresponding to this ciphersuite from "security.ssl3.rsa_des_ede3_sha" to
"security.ssl3.deprecated.rsa_des_ede3_sha".

[0] https://www.chromestatus.com/feature/6678134168485888

Differential Revision: https://phabricator.services.mozilla.com/D121797
2021-08-24 01:25:07 +00:00
Mike Kaply
a84915a124 Bug 1722544 - Allow SanitizeOnShutdown policy to be false. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D122031
2021-08-13 02:20:49 +00:00
Narcis Beleuzu
a43b352fd3 Backed out changeset 4f793a75cd93 (bug 1724072) for geckoview failures . CLOSED TREE 2021-08-10 19:19:35 +03:00
Dana Keeler
607c77eadc Bug 1724072 - allow enabling 3DES only when deprecated versions of TLS are enabled r=rmf
Chrome has removed 3DES completely[0], but we're still seeing some uses of it
in telemetry. Our assumption is that this is either due to old devices that
can't be upgraded, and hence probably use TLS 1.0, or servers that bafflingly
choose 3DES when there are other, better, ciphersuites in common.
This patch allows 3DES to only be enabled when deprecated versions of TLS are
enabled. This should protect users against the latter case (where 3DES is
unnecessary) while allowing them to use it in the former case (where it may be
necessary).

NB: The only 3DES ciphersuite gecko makes possible to enable is
TLS_RSA_WITH_3DES_EDE_CBC_SHA. This patch also changes the preference
corresponding to this ciphersuite from "security.ssl3.rsa_des_ede3_sha" to
"security.ssl3.deprecated.rsa_des_ede3_sha".

[0] https://www.chromestatus.com/feature/6678134168485888

Differential Revision: https://phabricator.services.mozilla.com/D121797
2021-08-10 15:25:37 +00:00
Mike Kaply
ed4834dc3f Bug 1715965 - Handle errors for local XPIs installed by policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D120763
2021-07-27 14:42:43 +00:00
Iulian Moraru
4e871ab90b Backed out changeset e3e4ce3c1020 (bug 1715965) for causing xpcshell failures on test_addon_update.js. CLOSED TREE 2021-07-27 00:43:47 +03:00
Mike Kaply
a954e6f60f Bug 1715965 - Handle errors for local XPIs installed by policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D120763
2021-07-26 20:55:31 +00:00
Mike Kaply
18721e0477 Bug 1719301 - Remove version number from Windows SSO pref and policy. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119187
2021-07-06 18:18:53 +00:00
Mike Kaply
73c98237a0 Bug 1716360 - Add policy for Windows 10 SSO. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D118042
2021-06-23 17:01:23 +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
Mike Kaply
4a29ffd947 Bug 1706119 - Add enterprise policy for open-protocol-handler permission. r=emalysz,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113034
2021-04-26 19:17:11 +00:00
Narcis Beleuzu
359bfccedf Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu
52e46d11c4 Bug 1574475 - Remove FTP proxy code r=necko-reviewers,preferences-reviewers,mixedpuppy,mkaply,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111248
2021-04-22 13:41:34 +00:00
Mike Kaply
b1da93faf8 Bug 1697566 - Correct implementation of SkipOnboarding policy. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D107894
2021-03-12 20:02:49 +00:00
Michael Kaply
054c11bbe5 Bug 1660810 - Theme installed via policy should be enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D96621
2020-11-12 01:00:21 +00:00
Michael Kaply
7d4f13d503 Bug 1583889 - Use EnterprisePolicyTesting for xpcshell tests r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92841
2020-10-13 18:42:28 +00:00
Michael Kaply
baac6ee8d5 Bug 1668374 - Treat 0/1 as boolean in policy unless there is an existing int pref. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D91492
2020-09-30 21:12:17 +00:00
Cosmin Sabou
640d8ee648 Backed out changeset f9ad61f28238 (bug 1666836) for bc failures on browser_policies_setAndLockPref_API.js. CLOSED TREE 2020-09-29 04:03:20 +03:00
Michael Kaply
16f49a8a67 Bug 1666836 - Treat 0/1 as boolean in policy unless there is an existing int pref. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D91492
2020-09-28 19:51:14 +00:00
Michael Kaply
6a227a9cf6 Bug 1666836 - Set bools correct with legacy preferences. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D91178
2020-09-23 21:09:06 +00:00
Michael Kaply
79b16e2489 Bug 1658259 - Ignore OfferToSaveLoginsDefault if OfferToSaveLogins is present. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D88664
2020-08-31 15:43:06 +00:00
Michael Kaply
be6442e078 Bug 1659719 - Add support for arbitrary preferences in policy. r=Gijs,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D87447
2020-08-26 17:31:44 +00:00
Michael Kaply
d48b73d76e Bug 1655857 - Add ability to cleanup policies. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D85210
2020-07-30 18:45:56 +00:00
Michael Kaply
f4a98904fd Bug 1655575 - Add enterprise policy for xr permission. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D85200
2020-07-28 21:19:06 +00:00
Scott
767ebcb263 Bug 1649883 - Fix user pref for pocket toggle off. r=gvn,remote-protocol-reviewers,perftest-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D82773
2020-07-15 14:51:02 +00:00
Michael Kaply
ffae09d34f Bug 1592658 - Policy should not override user's locale choice. r=jaws,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D79913
2020-06-24 23:52:38 +00:00
Michael Kaply
dabb525b02 Bug 1639945 - Add support for session cookies in policy. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D79902
2020-06-24 14:26:21 +00:00
Michael Kaply
5aac17892f Bug 1644528 - Allow DisabledCiphers policy to enable ciphers. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D78966
2020-06-17 17:17:04 +00:00
Andrea Marchesini
aed7c3bd35 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 13:49:27 +00:00
Csoregi Natalia
80d9cd436c Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Andrea Marchesini
bb142bc869 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 09:13:51 +00:00
Razvan Maries
8b85757eae Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Andrea Marchesini
7ac10a6d8d Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 17:59:13 +00:00
Noemi Erli
31652de3f9 Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Andrea Marchesini
b4cb833817 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 11:43:19 +00:00
Dorel Luca
d6e8a26ed6 Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini
9542c15aa9 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 10:28:51 +00:00
Michael Kaply
c41dd6539c Bug 1637716 - Shutdown AddonManager at end of test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D76787
2020-05-27 19:57:05 +00:00
Bogdan Tara
d25bedd2dc Backed out changeset 004a7596ab7c (bug 1637716) for test_addon_update.js failures CLOSED TREE 2020-05-26 22:55:34 +03:00
Michael Kaply
150ed70cca Bug 1637716 - Shutdown AddonManager at end of test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D76787
2020-05-26 18:04:19 +00:00
Michael Kaply
cc7f8caffc Bug 1619658 - Add picture in picture policy. r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D74490
2020-05-21 20:22:05 +00:00
Cosmin Sabou
22fa8598b1 Backed out 2 changesets (bug 1619658) for xpc and linting failures.
Backed out changeset a5c5a7a3cf83 (bug 1619658)
Backed out changeset fdfb16cb82a6 (bug 1619658)
2020-05-22 00:10:20 +03:00
Michael Kaply
2190362366 Bug 1619658 - Add picture in picture policy.
Differential Revision: https://phabricator.services.mozilla.com/D74490
2020-05-21 20:22:05 +00:00
Michael Kaply
fd1891d7d4 Bug 1619658 - Add picture in picture policy. r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D74490
2020-05-21 18:23:11 +00:00
Bogdan Tara
5552ed540b Backed out changeset 7daef473f5eb (bug 1619658) for test_sorted_alphabetically.js failures CLOSED TREE 2020-05-21 21:06:11 +03:00