Commit Graph

565 Commits

Author SHA1 Message Date
Luca Greco
3d0975d7e5 Bug 1486761 - Add installTelemetryInfo to addon installed from EnterprisePolicies. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D5549
2018-09-11 16:22:24 +00:00
Mark Banner
462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Kris Maglione
f6a4413b4c Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729
2018-08-18 19:27:33 -07:00
Ehsan Akhgari
e843facd7a Bug 1483378 - Part 5: Remove the old Cookies & Site Data UI; r=johannh,flod 2018-08-20 11:41:29 -04:00
Daniel Varga
5ab29c1092 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-18 00:53:04 +03:00
Ehsan Akhgari
dab182ec59 Bug 1483035 - Add the reject tracker cookie policy to the Cookies enterprise policy; r=mkaply 2018-08-17 12:03:06 -04:00
Noemi Erli
876c1b8bad Backed out changeset 48eed9811f27 (bug 1483035) Linting failure on builds/worker/checkouts/gecko/browser/components/enterprisepolicies/tests/browser/browser_policy_cookie_settings.js CLOSED TREE 2018-08-17 18:50:51 +03:00
Ehsan Akhgari
7ee15dd4e4 Bug 1483035 - Add the reject tracker cookie policy to the Cookies enterprise policy; r=mkaply 2018-08-17 11:29:05 -04:00
Brian Grinstead
dd4fd5c38b Bug 1482667 - Migrate mochitest-browser tests in browser/ to use element variations of firstChild, etc;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3530
2018-08-17 16:45:52 +00:00
Kanika Saini
cd2eae9995 Bug 1479769 - Homepage Policy no longer needs to use complex prefs. r=felipe 2018-08-10 15:04:05 -03:00
Felipe Gomes
0de08f053e Bug 1470324 - Clean up some unused code in EnterprisePoliciesContent.js. r=kmag
There was some unused code in this file which was wasting memory.

This patch also avoids some more policies from being sent to the content process as they are not really needed there

MozReview-Commit-ID: C4FzesWMQi0
2018-07-27 14:51:12 -03:00
Felipe Gomes
4801e5ef79 Bug 1470324 - Use sharedData instead of initialProcessData in the enterprise policies code. r=kmag
This significantly simplifies the content-side implementation of the enterprise policies code since it doesn't have to listen for updates on the disallowed features list (with that, it also doesn't need to load early in order to set up those listeners)

MozReview-Commit-ID: 3lyZXq1j3D5
2018-07-27 14:51:10 -03:00
Boris Zbarsky
e98236cf07 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Michael Kaply
62437e71ca Bug 1471383 - Use iconURL.href and add test r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D2081
2018-07-19 15:04:06 +00:00
Kanika Saini
d760dc0e42 Bug 1469943 - Enterprise policy to set a custom app update URL. r=felipe 2018-07-12 22:33:50 +05:30
Kirk Steuber
322fa53814 Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in enterprise policy tests r=Felipe
MozReview-Commit-ID: HfPvQjmZ7mo
2018-05-22 09:09:31 -07:00
Andreea Pavel
044d437861 Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Kirk Steuber
2767df88cc Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in enterprise policy tests r=Felipe
MozReview-Commit-ID: HfPvQjmZ7mo
2018-05-22 09:09:31 -07:00
Axel Hecht
28138483f9 Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.

Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.

MozReview-Commit-ID: FPLxzi3jQAP
2018-05-28 12:38:01 +02: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
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
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
kanika
830684e1df Bug 1452740 - Added Policy: Disable Hardware Acceleration r=Felipe
MozReview-Commit-ID: FVrpCRtwQLh
2018-05-15 20:22:39 +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
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
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
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
Felipe Gomes
c476ab108d Bug 1429161 - Policy: Disable Forget Button. r=jaws 2018-04-03 15:39:35 -03:00