Commit Graph

595 Commits

Author SHA1 Message Date
Michael Kaply
31152b0646 Bug 1429153 - Add policy for disabling telemetry (ESR only). r=Felipe
MozReview-Commit-ID: 22pVEpDX1Dc
2018-03-28 15:55:14 -05:00
Kirk Steuber
7a7b783964 Bug 1449681 - Fix bug where opensearch API is not always successfully blocked by policy r=Felipe
MozReview-Commit-ID: 7ZrmiMop9IB
2018-03-28 12:28:06 -07:00
Kirk Steuber
94ef6d3057 Bug 1448085 - Fix the enterprise policy to set homepage to use the correct mechanism for setting complex prefs r=Felipe
MozReview-Commit-ID: 4rGa9TWSEgw
2018-03-22 15:18:43 -07:00
Michael Kaply
52aad2dba0 Bug 1449021 - Policy for install/uninstalling add-ons. r=Felipe
MozReview-Commit-ID: HBcbs4hWfEA
2018-03-28 09:29:17 -05:00
Kirk Steuber
48df44549c Bug 1428948 - Add policies to modify the available search engines r=Felipe,florian
This adds a policy with the capability of adding search engines, choosing the default search engine, and blocking the installation of new search engines.

Additionally, fixes the messages for errors reported by MainProcessSingleton.addSearchEngine so that the offending URL is printed rather than "[xpconnect wrapped nsIURI]".

MozReview-Commit-ID: HuLT15Rnq0r
2018-03-02 12:11:16 -08:00
Felipe Gomes
81194126ca Bug 1433172 - Drop the pref that controls the policy engine. r=mossop
The policy engine should always be enabled, with no way to disable it.

MozReview-Commit-ID: 9HGew1S33q1
2018-03-21 13:28:06 -03:00
Felipe Gomes
64cee915da Bug 1446508 - Create test file that makes it easier to add tests for simple policies. r=MattN 2018-03-21 13:11:42 -03:00
Felipe Gomes
f8bc2f63f3 Bug 1446508 - Track prefs that had their default values changed, and restore them automatically when restarting the policy engine. r=MattN 2018-03-21 13:11:24 -03:00
Felipe Gomes
c8c3c74e87 Bug 1446508 - Rewrite test browser_policy_disable_fxscreenshots.js to make it more stable. r=MattN 2018-03-21 13:10:52 -03:00
Felipe Gomes
5ca84fbbdc Bug 1446508 - Move the helper function checkLockedPref to a common location to be used by more tests. r=MattN 2018-03-21 13:10:36 -03:00
Yuki Hiroshi
c4413f1cd1 Bug 1446508 - clear runOnce state after every test. r=felipe 2018-03-21 13:10:23 -03:00
Kirk Steuber
44e57f880d Bug 1447345 - Change enterprise policy that sets homepage to set it as the default rather than the user value for the pref r=Felipe
Additionally removes a stray debugging line that I accidentally checked into the tree previously.

MozReview-Commit-ID: 7F2S8WBgKCj
2018-03-20 10:43:19 -07:00
k88hudson
53124292cf Bug 1417155 - Add new Home/New Tab page section to about:prefs#home r=flod,gandalf,jaws
MozReview-Commit-ID: 4ip7irrfLbR
2018-03-08 10:54:53 -05:00
Felipe Gomes
9480e1f2d7 Bug 1429177 - Policy: Set network proxy settings. r=mixedpuppy 2018-03-19 02:15:50 -03:00
Tooru Fujisawa
f415c74b57 Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Dorel Luca
2cf4b2b0a5 Backed out changeset 6663b286d68c (bug 1429177) for Mochitest leaks on ProxyAutoConfig 2018-03-17 07:41:47 +02:00
Felipe Gomes
fa4fcbc306 Bug 1433870 - Policy: Tracking protection. test follow-up. r=me
Unlock the prefs at the end of the test so that it doesn't fail when it runs twice in a row (e.g., on test-verify)
2018-03-17 00:32:44 -03:00
Felipe Gomes
7c0648d8c7 Bug 1429177 - Policy: Set network proxy settings. r=mixedpuppy 2018-03-16 21:02:22 -03:00
Felipe Gomes
4351746c37 Bug 1439443 - Policies: Don't create the default and smart bookmarks on the profile. r=mak 2018-03-16 21:02:05 -03:00
Michael Kaply
48281a135e Bug 1433870 - Policy: Tracking protection. r=felipe,bytesized 2018-03-16 15:36:58 -05:00
Kris Maglione
9d5b9190a5 Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
Yuki Hiroshi
c311f2d72b Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Brindusan Cristian
1726442983 Backed out changeset 83dffebb1536 (bug 1440573) for bc failures on browser_policy_disable_safemode.js CLOSED TREE 2018-03-16 05:15:39 +02:00
Yuki Hiroshi
d376aa72b6 Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Kirk Steuber
d2a4c1e81e Bug 1429160 - Create enterprise policy to disable PDF.js. r=dthayer,felipe 2018-03-07 13:17:07 -08:00
Yuki Hiroshi
db5a304800 Bug 1440574 - Policy: Disable commands to send feedback. r=felipe 2018-03-15 23:02:13 -03:00
Ciure Andrei
ad4bc48a6f Backed out 2 changesets (bug 1440574) for failing browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js on OS X a=backout on a CLOSED TREE
Backed out changeset f003e2175222 (bug 1440574)
Backed out changeset 1962477d8dc7 (bug 1440574)
2018-03-12 17:48:45 +02:00
Sebastian Hengst
2323548e2a Bug 1440574 - Policy: Disable commands to send feedback: Replace tab character with whitespaces. r=eslint-fix on a CLOSED TREE 2018-03-12 15:50:05 +02:00
YUKI Piro Hiroshi
d14726591e Bug 1440574 - "Policy: Disable commands to send feedback" r=Felipe 2018-03-12 05:58:00 +02:00
YUKI "Piro" Hiroshi
5b7775c8d7 Bug 1440578 - Policy: "block" under "cookies" should clear already-stored cookies r=felipc 2018-03-08 09:22:00 +02:00
Cosmin Sabou
2d25f0942c Backed out changeset 5521f4a9012d (bug 1440578) for ESlint failure on browser/components/enterprisepolicies/Policies.jsm 2018-03-08 06:17:19 +02:00
YUKI Piro Hiroshi
910c051f91 Bug 1440578 - Policy: "block" under "cookies" should clear already-stored cookies. r=felipc, r=jdm 2018-03-05 19:36:00 -05:00
Andreea Pavel
fabfa22f25 Backed out 2 changesets (bug 1440574) for failing browser chrome at browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js on a CLOSED TREE
Backed out changeset 3a87db9282d8 (bug 1440574)
Backed out changeset 7afca6992b72 (bug 1440574)
2018-03-07 17:43:04 +02:00
Sebastian Hengst
41f650437a Bug 1440574 - Policy: Disable commands to send feedback: Fix eslint errors by adding semicolons. r=eslint-fix 2018-03-07 17:24:28 +02:00
YUKI Piro Hiroshi
81f15132df Bug 1440574 - Policy: Disable commands to send feedback. r=felipc 2018-03-05 19:13:00 -05:00
Kirk Steuber
f7feb9cd1a Bug 1436851 - Add test for enterprise policy to disable system addon updates r=Felipe,rhelmer
MozReview-Commit-ID: K3NtpeVLFf4
2018-02-14 15:15:02 -08:00
Felipe Gomes
b1327a0095 Bug 1436840 - Policy engine: Add support for enterprise-only policies. r=mkaply
Policies annotated with enterprise_only in the schema will only be allowed to run on ESR or on pre-release channels (for testing)

MozReview-Commit-ID: 4tF8t1ozyVp
2018-03-05 20:46:54 -03:00
Felipe Gomes
db353634cb Bug 1432906 - Display notice in about:preferences when Policies are in use. r=gandalf,jaws
MozReview-Commit-ID: 83UUY9DmK2K
2018-03-05 14:18:44 -03:00
Felipe Gomes
652588d608 Bug 1429151 - Policy: Disable Sync. r=markh
MozReview-Commit-ID: Eg6hg7GNMod
2018-03-04 22:12:15 -03:00
Mike Cooper
24be7408a3 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
MozReview-Commit-ID: 8i9Jrq8rj3W
2018-03-02 11:18:59 -08:00
Mike Cooper
8fa569ae7b Bug 1436113 - Part 1: Move browser/extensions/shield-recipe-client to toolkit/components/normandy r=Gijs
MozReview-Commit-ID: LidgzhI4Z7h
2018-02-28 14:55:47 -08:00
Kirk Steuber
7eb2c987a7 Bug 1429186 - Create an enterprise policy to set the homepage and, optionally, lock it r=Felipe
Also creates the runOncePerModification helper function in Policies.jsm and fixes a minor bug in the runOnce helper function also in Policies.jsm

MozReview-Commit-ID: HDgMmhHI1D0
2018-02-27 09:13:16 -08:00
Michael Kaply
97e2f5fdd4 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5
2018-03-01 10:20:38 -06:00
Narcis Beleuzu
4f1c6ef656 Backed out 2 changesets (bug 1436113) for bc failures on browser_about_studies.js
Backed out changeset 8ccf1c3f156f (bug 1436113)
Backed out changeset 18a7f08a6cdc (bug 1436113)
2018-03-01 06:44:44 +02:00
Mike Cooper
bc5e5186c7 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE
2018-02-21 15:02:04 -08:00
Mike Cooper
9b926958fe Bug 1436113 - Part 1: Move browser/extensions/shield-recipe-client to toolkit/components/normandy r=Gijs
MozReview-Commit-ID: LidgzhI4Z7h
2018-02-28 14:55:47 -08:00
Narcis Beleuzu
cfe00b0218 Backed out 2 changesets (bug 1436113) for ESlint failure on Normandy.jsm. CLOSED TREE
Backed out changeset 0a2b1c60cec5 (bug 1436113)
Backed out changeset 88dd78f248e2 (bug 1436113)
2018-03-01 00:37:47 +02:00
Mike Cooper
98ab0ed263 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE
2018-02-21 15:02:04 -08:00
Mike Cooper
6752f721a3 Bug 1436113 - Part 1: Move browser/extensions/shield-recipe-client to toolkit/components/normandy r=Gijs
MozReview-Commit-ID: LidgzhI4Z7h
2018-02-28 09:40:47 -08:00
Sebastian Hengst
b120b7fb67 merge mozilla-inbound to mozilla-central. a=merge 2018-02-28 12:54:12 +02:00