Commit Graph

106 Commits

Author SHA1 Message Date
Mark Banner
be3e5b9f71 Bug 1789254 - Migrate enterprisepolicies (browser and toolkit) to ESM. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D156463
2022-09-08 14:40:06 +00:00
Norisz Fay
6008f8d423 Backed out 3 changesets (bug 1789254) for causing bc failures on browser_xpcom_graph_wait.js CLOSED TREE
Backed out changeset bea1e1ba4a14 (bug 1789254)
Backed out changeset 4086aaa5f3d0 (bug 1789254)
Backed out changeset 131cac1d1146 (bug 1789254)
2022-09-08 17:14:00 +03:00
Mark Banner
97344659e3 Bug 1789254 - Migrate enterprisepolicies (browser and toolkit) to ESM. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D156463
2022-09-08 12:43:32 +00:00
Mark Banner
19b7fb742e Bug 1782659 - Enable ESlint rule no-unused-vars on the global scope for browser/ xpcshell-tests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D153433
2022-08-05 08:38:50 +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
James Teow
6b2fbf088c Bug 1773771 - Add GoToIntranetSiteForSingleWordEntryInAddressBar enterprise policy r=mkaply,flod
Differential Revision: https://phabricator.services.mozilla.com/D148952
2022-06-30 16:21:44 +00:00
Mike Kaply
50e0a46202 Bug 1770960 - Enterprise policy for using system print dialog. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D147212
2022-05-27 19:59:12 +00:00
Kirk Steuber
8bf87d7b40 Bug 1762957 - Tests for Update Pinning r=bhearsum
Note that these tests only ensure that the pin is properly added to the update URL and to the telemetry. They do not test that the update applied will be of the correct version. This is because we are not attempting to have Firefox check if the update provided is valid given the pin, we are leaving it to the update server (Balrog) to find and serve the correct version.

Differential Revision: https://phabricator.services.mozilla.com/D143788
2022-05-16 20:55:07 +00:00
Mike Kaply
09fbd2879d Bug 1722050 - Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D144214
2022-05-12 15:22:38 +00:00
Bogdan Szekely
f0940a9a03 Backed out changeset 0a74e9a67faa (bug 1722050) for causing xpcshell failures on test_sorted_alphabetically.js. CLOSED TREE 2022-05-12 17:19:37 +03:00
Mike Kaply
5b3ec8b9b8 Bug 1722050 - Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D144214
2022-05-12 13:17:30 +00:00
Doug Thayer
3b737ed548 Bug 1756823 - Replace ConsoleAPIStorage observer calls with js array r=nchevobbe,webdriver-reviewers,geckoview-reviewers,agi,jdescottes
See the comment in the file explaining it. For a case of logging 100k numbers,
this dropped the time per number from 15 microseconds to 9 with the console
closed, and 55 microseconds to 38 with the console open. I think we could shave
off more with a native approach, but I don't know that it's worth it and it's
much more likely for that to introduce bugs.

Differential Revision: https://phabricator.services.mozilla.com/D143782
2022-05-03 17:21:59 +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
Mike Kaply
9a61be5fde Bug 1751037 - Properly disable PDFjs permissions. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D137778
2022-02-10 14:15:11 +00:00
Mike Kaply
a356924793 Bug 1750233 - Allow JSON policy to be a REG_SZ. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D136380
2022-01-21 18:17:01 +00:00
Barret Rennie
d4d0b38902 Bug 1745357 - Remove osfile.jsm from browser/components/enterprisepolicies r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D133831
2021-12-16 22:16:02 +00:00
Mike Kaply
4f8a55b680 Bug 1745065 - Add support for managing more ciphers in policy. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D133374
2021-12-10 15:12:33 +00:00
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