Commit Graph

189 Commits

Author SHA1 Message Date
Coroiu Cristina
527d80195f Backed out changeset a21149d9d236 (bug 1465953) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js 2018-07-04 23:48:08 +03:00
Kanika Saini
925f544365 Bug 1465953 - Create the basic structure for an about:policies page. r=felipe 2018-06-26 18:13:37 +05:30
Felipe Gomes
eccdf1a417 Bug 1467593 - Add strict=false to the schema of some policies. r=mkaply
This allows mistakes given to URL and origin params to be less severe to the end user.

MozReview-Commit-ID: 3HXM6adjCo0
2018-06-29 15:54:54 -03:00
Michael Kaply
46001c2f61 Bug 1463846 - Switch enterprise only policies to be machine on Windows. r=Felipe
MozReview-Commit-ID: 3lWwfzjVbhS
2018-06-28 14:33:32 -05:00
Michael Kaply
41aafe66d6 Bug 1471355 - Block all chrome URLS if about: policy is active. r=Felipe
MozReview-Commit-ID: Ei1HglhfHjo
2018-06-26 16:08:16 -05:00
Michael Kaply
bba476914a Bug 1471651 - Allow Non FQDN to be specified in policy. r=Felipe
MozReview-Commit-ID: 4mVbOfTGIak
2018-06-27 12:11:49 -05:00
Cosmin Sabou
bb987de702 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Michael Kaply
983c21b678 Bug 1463902 - Remove first_available annotation. r=Felipe DONTBUILD
MozReview-Commit-ID: 1pJ1ZmoVMqt
2018-06-27 13:49:45 -05:00
Kanika Saini
246bae3c77 Bug 1465950 - Keep parsed policies stored by EnterprisePolicies.js to display them on about:policies page. r=felipe 2018-06-20 22:48:12 +05:30
Andreea Pavel
00aca2c161 Backed out changeset ce5b67578d0c (bug 1465950) for failing eslint at /builds/worker/checkouts/gecko/browser/components/enterprisepolicies/tests/browser/browser_policies_getActivePolicies.js on a CLOSED TREE 2018-06-27 20:24:23 +03:00
Kanika Saini
8578233ee4 Bug 1465950 - Keep parsed policies stored by EnterprisePolicies.js to display them on about:policies page. r=felipe 2018-06-20 22:48:12 +05:30
Gurzau Raul
7cbbb8a25b Backed out changeset 04352a50d097 (bug 1465950) for linting failure on /enterprisepolicies/tests/browser/browser_policies_getActivePolicies.js on a CLOSED TREE 2018-06-27 06:55:53 +03:00
Kanika Saini
c898eea1db Bug 1465950 - Keep parsed policies stored by EnterprisePolicies.js to display them on about:policies page. r=felipe 2018-06-20 22:48:12 +05:30
Kirk Steuber
9241bda92a Bug 1460082 - Allow DisableAppUpdate and DisableSystemAddonUpdate policies outside of the ESR r=Felipe
Changing enterprise_only to machine_only will allow these policies outside of the ESR, but not in HKEY_CURRENT_USER.

MozReview-Commit-ID: UAT6CPFOWO
2018-06-21 07:42:11 -07:00
Kanika Saini
bdca4ca8cb Bug 1452533 - JsonSchemaValidator should output URL types as URL objects instead of nsIURIs. r=felipe 2018-06-05 19:20:40 +05:30
Kanika Saini
d5bdf8d25b Bug 1467062 - Permissions Policy added to configure camera, microphone, location and notifications r=Felipe
MozReview-Commit-ID: IqpEboxHjjt
2018-06-06 15:43:26 +05:30
Kanika Saini
2c185d1994 Bug 1466484 - Added remove to SearchEngines Policy r=Felipe
MozReview-Commit-ID: 6g3qp6q605i
2018-06-11 21:36:15 +05:30
Joel Maher
d0823df1ef Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Kris Maglione
0847e8227e Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB
2018-05-25 17:02:29 -07:00
Felipe Gomes
60b570dbeb Bug 1463895 - Allow some policies to be machine-only. r=mkaply
Machine-only policies can only be triggered from sources that require user privileges to make machine-wide changes. Currently, that means the policies.json file in the installation folder, or the HKEY_LOCAL_MACHINE registry root. In other words, it currently excludes the HKEY_CURRENT_USER registry root

MozReview-Commit-ID: G9wxEM19yVb
2018-05-28 18:35:15 -03:00
Kanika Saini
b34a5681fa Bug 1453350 - Search Engines Policy runs on modification r=Felipe
MozReview-Commit-ID: DXfC6ldE63T
2018-06-04 14:07:14 +05:30
Kirk Steuber
06aa60f14a Bug 1460086 - Disable pref: browser.policies.alternatePath except in testing and Nightly r=Felipe,mkaply
MozReview-Commit-ID: GA5Ntp7izPl
2018-05-22 14:54:25 -07:00
kanika
830684e1df Bug 1452740 - Added Policy: Disable Hardware Acceleration r=Felipe
MozReview-Commit-ID: FVrpCRtwQLh
2018-05-15 20:22:39 +05:30
kanika
3d1cbdd702 Bug 1455888 - Added a check to Policies.jsm addAllowDenyPermissions to throw an error when the user tries to add built-in sites to the permission manager r=Felipe
MozReview-Commit-ID: JIRr6BtK3x8
2018-05-16 21:36:25 +05:30
Tooru Fujisawa
41aa207cb4 Bug 1420574 - Add CustomizableUITestUtils.prototype.{addSearchBar,removeSearchBar} to show search bar in nav bar and verify it does not overflow. r=Paolo 2018-05-09 09:48:40 +09:00
Andrew Halberstadt
5f240d3ef3 Bug 1451159 - [testing/profiles] Store profile data in actual profile look alike folders r=gbrown
This moves testing/profiles/prefs_general.js to
testing/profiles/common/user.js. It also adds an 'extensions' folder to the
common profile. Dropping extension files here will get them installed in all
test harnesses (useful for testing on try).

The idea is that all test harnesses will eventually use this 'common' profile.
We'll also create some new per harness profiles, e.g testing/profiles/mochitest
and testing/profiles/reftest. This way there will be a single location
developers can go to set preferences, both for a specific harness, and across
all harnesses.

MozReview-Commit-ID: 8sqBqLiypgU
2018-04-19 16:12:26 -04:00
Bogdan Tara
368d2cab0c Backed out 4 changesets (bug 1451159) for linux build bustages CLOSED TREE
Backed out changeset 72926ae685af (bug 1451159)
Backed out changeset f90a99682382 (bug 1451159)
Backed out changeset 3914937893de (bug 1451159)
Backed out changeset 79931e4a2bfb (bug 1451159)
2018-05-04 00:25:56 +03:00
Andrew Halberstadt
9abecc2372 Bug 1451159 - [testing/profiles] Store profile data in actual profile look alike folders r=gbrown
This moves testing/profiles/prefs_general.js to
testing/profiles/common/user.js. It also adds an 'extensions' folder to the
common profile. Dropping extension files here will get them installed in all
test harnesses (useful for testing on try).

The idea is that all test harnesses will eventually use this 'common' profile.
We'll also create some new per harness profiles, e.g testing/profiles/mochitest
and testing/profiles/reftest. This way there will be a single location
developers can go to set preferences, both for a specific harness, and across
all harnesses.

MozReview-Commit-ID: 8sqBqLiypgU
2018-04-19 16:12:26 -04:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
k88hudson
6bbdd2fd81 Bug 1448971 - Replace "when Firefox starts" section in about:preferences#general with checkbox r=flod,jaws
MozReview-Commit-ID: JHL20S5gZq2
2018-04-04 12:28:22 -04:00
Kris Maglione
ad06da8d89 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs
2018-04-15 14:22:55 -07:00
Kris Maglione
d3bbf87c83 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc
2018-04-14 19:38:18 -07:00
Mike Cooper
9fecd96bd2 Bug 1440782 Part 1 - Move PolicyEngine's JSON schema validator to toolkit r=Felipe
MozReview-Commit-ID: 41K9xzry21w
2018-04-17 16:36:05 -07:00
Sebastian Hengst
7741cfdfb8 Bug 1453970 - Failures for enterprise policy tests should be filed in Firefox::Enterprise Policies by default. DONTBUILD r=Felipe
MozReview-Commit-ID: JZS5998tjEx
2018-04-13 16:48:10 +02:00
Kirk Steuber
185e10e28a Bug 1451024 - Cookie settings should be disabled when the related prefs are locked r=jaws
Also adds too the cookie tests to ensure this takes effect.

MozReview-Commit-ID: A85kv20BcnI
2018-04-10 15:05:42 -07:00
Michael Kaply
39dc9e27ca Bug 1452104 - Final tweaks to policy names and params. r=Felipe
MozReview-Commit-ID: CxxCqnyavfL
2018-04-06 13:35:14 -05:00
shindli
2c8b5661c6 Backed out changeset 13d1bdd6e8ce (bug 1452104) per developer's request on IRC on a CLOSED TREE 2018-04-06 23:14:49 +03:00
Michael Kaply
b70568583a Bug 1452104 - Final tweaks to policy names and params. r=Felipe
MozReview-Commit-ID: CxxCqnyavfL
2018-04-06 13:35:14 -05:00
Kirk Steuber
e8dd27d5be Bug 1429164 - Add enterprise policy to prevent showing the profile import wizard r=Felipe,Gijs
MozReview-Commit-ID: Lg7r1NrFbKl
2018-04-04 10:56:20 -07:00
Michael Kaply
82b9bd3477 Bug 1449226 - Add better debug information for GPO. r=Felipe
MozReview-Commit-ID: GCw0kARRuJ5
2018-04-03 17:24:08 -05:00
Narcis Beleuzu
0ae77e27f2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 01:09:42 +03:00
Felipe Gomes
eada08dc14 Bug 1429161. Policy follow-up: hide instead of disabling the Forget button. r=jaws 2018-04-04 16:22:24 -03:00
Felipe Gomes
5e4015f548 Bug 1450761 - Policy to disable the Add Exception button on certificate error pages. r=jaws 2018-04-04 15:56:27 -03:00
Kanika Saini
3573992df1 Bug 1443242 - Disable about:debugging in InstallAddons Policy. r=felipe 2018-04-04 23:49:22 +05:30
Michael Kaply
7906c28df0 Bug 1429179 - Add policy to clear data on shutdown. r=felipe
MozReview-Commit-ID: canswg76ZN
2018-04-03 15:59:52 -05:00
Kirk Steuber
f78c6fa233 Bug 1429157 - Create an enterprise policy to prevent profile refreshes r=Felipe,Gijs
MozReview-Commit-ID: K7yxDm0H7eH
2018-03-28 09:44:07 -07:00
Kirk Steuber
8c9ecca315 Bug 1429157 - Change PoliciesPrefTracker.restoreDefaultValues to delete prefs that were previously non-existant r=Felipe
This is required to write a functional test for the enterprise policy that prevents profile refreshes.

MozReview-Commit-ID: G9SaT4UQWkw
2018-04-03 13:58:04 -07:00
Margareta Eliza Balazs
4a65daf2b1 Merge inbound to mozilla-central. a=merge 2018-04-04 12:43:55 +03:00
Michael Kaply
3cfbfc27b1 Bug 1451122 - Catch errors on uninstallable add-ons. r=Felipe
MozReview-Commit-ID: 1zbCuHp5yEt
2018-04-03 16:15:13 -05:00
Peter Van der Beken
317400d75b Bug 1448850 - Remove nsIMessageListener and nsIMessageListenerManager. r=bz. 2018-02-16 15:28:31 +01:00