Commit Graph

772 Commits

Author SHA1 Message Date
Andrew Swan
010e0a37f3 Bug 1504056 Part 1: Refactor AddonManager.getInstallForURL() arguments r=kmag
AddonManagergetInstallForURL() has a number of optional arguments, most
of which are passed infrequently.  Convert them from positional arguments
to a single options object.

Differential Revision: https://phabricator.services.mozilla.com/D18475
2019-02-01 15:23:55 -08:00
Hector Zhao
df61050e98 Bug 1513162 - Use guid with known prefix for bookmarks from distribution.ini. r=mak,mkaply
Also stop setting keyword with distribution.ini.

Differential Revision: https://phabricator.services.mozilla.com/D15489
2019-01-10 20:54:53 +00:00
Soeren Hentzschel
4941ec8b93 Bug 1516269 - fixed the hover state for the rows in about:policies r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15389
2018-12-26 19:13:07 +00:00
Adnan Bhuiyan
473112e15a Bug 1485636 - Add icons to the about:policies sidebar. r=felipe
In addition to the visual improvement, these icons help the responsive design of the page, because if it becomes too narrow the sidebar labels will disappear and only the icons will be displayed
2018-12-24 14:51:32 -02:00
Yushan Lin
c2b59f6616 Bug 1488411 - Respond to hash changes in about:policies. r=felipe 2018-12-20 17:44:24 -02:00
Ferenc Nagy
2c01d973a9 Bug 1497928 - Make about:policies report an error if json doesn't contain a 'policies' object. r=felipe 2018-12-18 18:23:18 -02:00
Ferenc Nagy
65e03d15ea Bug 1494598 - Restore scroll position in about:policies when navigating between sections. r=felipe 2018-12-18 18:23:51 -02:00
Coroiu Cristina
6e31a6fd5a Backed out 2 changesets (bug 1497928, bug 1494598) for browser-chrome failures at browser/components/enterprisepolicies/tests/browser/browser_policies_macosparser_unflatten.js on a CLOSED TREE
Backed out changeset 58cd47fe1774 (bug 1494598)
Backed out changeset 425ac2d14a27 (bug 1497928)
2018-12-19 00:02:14 +02:00
Ferenc Nagy
c688f48021 Bug 1494598 - Restore scroll position in about:policies when navigating between sections. r=felipe 2018-12-18 18:23:51 -02:00
Ferenc Nagy
b40874f40d Bug 1497928 - Make about:policies report an error if json doesn't contain a 'policies' object. r=felipe 2018-12-18 18:23:18 -02:00
Robert Strong
32ca87427a Bug 1506915 - Move app update auto enabled / disabled to a jsm. r=bytesized,chutten
This moves getting and setting the value of app.update.auto from nsUpdateService.js to UpdateUtils.jsm so nsUpdateService.js isn't loaded during startup
Changes the browser_policy_app_update_URL.js test to check the default pref for app.update.url since the default pref is read by app update
Fixes a NS_NOINTERFACE error in app update xpcshell tests for AppInfo not implementing nsIPlatformInfo

Differential Revision: https://phabricator.services.mozilla.com/D13285
2018-11-28 21:47:03 +00:00
Siddhant085
19ca8b1ad3 Bug 1453264 - Dropping nsIBrowserSearchService::currentEngine in favour of defaultEngine. r=Standard8
All instances of nsIBrowserSearchService::currentEngine have been replaced by nsIBrowserSearchService::defaultEngine. Dropping this variable now.

Differential Revision: https://phabricator.services.mozilla.com/D12223
2018-11-28 15:21:11 +00:00
Felipe Gomes
57ca733685 Bug 1507885 - Screenshots policy test should check for the correct PageAction. r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D12160
2018-11-16 23:41:41 +00:00
Michael Kaply
2e76682567 Bug 1507291 - Remove concept of machine_only policies. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D11942
2018-11-15 20:30:03 +00:00
Narcis Beleuzu
6ebe1dfa22 Backed out changeset 49bac5821786 (bug 1507291) for Linting failure on WindowsGPOParser.jsm. CLOSED TREE 2018-11-15 22:23:32 +02:00
Michael Kaply
4cc52db164 Bug 1507291 - Remove concept of machine_only policies. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D11942
2018-11-15 20:02:52 +00:00
Michael Kaply
8deb5269d0 Bug 1506734 - Allow paths and distribution directory for certificates. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D11707
2018-11-14 21:47:22 +00:00
Felipe Gomes
d3154210e9 Bug 1495749 - Allow add-ons to be updated via policy by uninstalling and reinstalling them. r=mkaply 2018-11-09 17:01:18 -02:00
Csoregi Natalia
25bbe7f3aa Backed out changeset d96cbd9059cd (bug 1495749) for browser_policy_extensions.js failures. CLOSED TREE 2018-11-09 00:57:05 +02:00
Michael Kaply
d754175923 Bug 1504691 - Read certs from local and roaming on Windows. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D11360
2018-11-08 19:34:09 +00:00
Felipe Gomes
9de4f2c9e9 Bug 1495749 - Allow add-ons to be updated via policy by uninstalling and reinstalling them. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D11238
2018-11-08 18:03:37 +00:00
Kirk Steuber
bc6d234bb9 Bug 1458308 - Change lookups of app.update.auto to use nsIApplicationUpdateService::(get|set)AutoUpdateIsEnabled r=rstrong
This patch also contains a few additional minor changes:
- Clears the user value set to the pref app.update.auto after the value is migrated.
- Fixes the app.update.auto pref migration test
- Makes a number of functions asynchronous to allow them to wait for app.update.auto setting changes
- TestAUSHelper's create-update-dir command no longer tries to set the permissions on all files in the update directory.  Fixes a potential race condition when creating the update directory.

Depends on D4594

Differential Revision: https://phabricator.services.mozilla.com/D10315
2018-11-06 21:18:21 +00:00
Andrea Marchesini
dfed330640 Bug 1503551 - Make window.external.AddSearchProvider a dummy function, r=smaug 2018-10-31 18:30:18 +01:00
Erica Wright
cb0f9f12b8 Bug 1501989 - turn "keep until" menu list into a checkbox r=flod,johannh
Remove the keepUntil menulist and label, add a checkbox that toggles the value of 'network.cookie.lifetimePolicy' between 2 and 0.

Differential Revision: https://phabricator.services.mozilla.com/D9955
2018-10-29 16:46:17 +00:00
Siddhant085
8ee1087713 Bug 1493483 - Use nsIBrowserSearchService::defaultEngine instead of currentEngine (in production code) r=Standard8
nsIBrowserSearchService::currentEngine and nsIBrowserSearchService::defaultEngine are the same thing.
The use of defaultEngine makes more sense and thus we are phasing out the use of currentEngine and replace it with defaultEngine.

Differential Revision: https://phabricator.services.mozilla.com/D7972
2018-10-27 16:52:02 +00:00
Brian Grinstead
351e034123 Bug 1493536 - Convert search-one-offs binding to custom element;r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9710
2018-10-25 09:36:15 +00:00
Arshad Kazmi
36c0acb8f0 Bug 1485195 - Display array policies correctly in about:policies r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D9563
2018-10-23 20:20:19 +00:00
Michael Kaply
ad50cd0dad Bug 1474683 - Add support for importing certificates. r=flod,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8286
2018-10-17 16:08:25 +00:00
Michael Kaply
787e406539 Bug 1469951 - Update homepage policy to include startpage r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8562
2018-10-16 15:09:58 +00:00
Michael Kaply
7318fa1a0a Bug 1493973 - Don't block devtools when block chrome URLs r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8591
2018-10-12 19:48:19 +00:00
Michael Kaply
5e0fcc93c7 Bug 1498223 - Always add security devices at startup if they aren't there. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8574
2018-10-12 19:25:58 +00:00
Felipe Gomes
2d48ffba97 Bug 1498032 - Support flat policies on Mac. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D8302
2018-10-11 21:36:56 +00:00
Felipe Gomes
b2876b3428 Bug 1498032 - Part 0. Move the removeUnknownPolicies function into macOSPoliciesParser.jsm. r=spohl
This just simplifies things a bit for the next patch

Differential Revision: https://phabricator.services.mozilla.com/D8301
2018-10-11 19:07:50 +00:00
Michael Kaply
99f5ab260b Bug 1463684 - Specify UTF-8 charset for policy search engines. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8144
2018-10-10 22:38:12 +00:00
Michael Kaply
73f4e0c480 Bug 1496855 - Switch PDF policy to use pdfjs.disabled. r=Felipe
pdfjs.disabled now works from policy, so use it

Differential Revision: https://phabricator.services.mozilla.com/D8237
2018-10-10 21:57:34 +00:00
Michael Kaply
fffc845d84 Bug 1491664 - Allow true and false for ImportEnterpriseRoots policy. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8137
2018-10-10 22:00:23 +00:00
Michael Kaply
418019a967 Bug 1497722 - Reset locale after test. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8273
2018-10-10 21:56:55 +00:00
Michael Kaply
966c9113c5 Bug 1497549 - Add support for setting locale via policy. r=Felipe,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D8112
2018-10-09 20:06:34 +00:00
Csoregi Natalia
c42d79525b Backed out changeset c35bab726b03 (bug 1493483) for multiple browser-chrome failures e.g browser_extension_controlled.js. CLOSED TREE 2018-10-09 23:26:24 +03:00
Michael Kaply
a1e32ce902 Bug 1484843 - Add policy for disabling DNS over HTTPS r=flod,Felipe,jkt
Differential Revision: https://phabricator.services.mozilla.com/D7743
2018-10-09 19:06:57 +00:00
Siddhant085
0a154604f3 Bug 1493483 - Use nsIBrowserSearchService::defaultEngine instead of currentEngine (in production code) r=Standard8
nsIBrowserSearchService::currentEngine and nsIBrowserSearchService::defaultEngine are the same thing.
The use of defaultEngine makes more sense and thus we are phasing out the use of currentEngine and replace it with defaultEngine.

Differential Revision: https://phabricator.services.mozilla.com/D7972
2018-10-09 18:40:08 +00:00
Doug Thayer
6c2f2815de Bug 1426245 - Test changes r=mak
MozReview-Commit-ID: 4fhhzspxLJZ

Depends on D4606

Differential Revision: https://phabricator.services.mozilla.com/D5162
2018-10-09 14:47:31 +00:00
Michael Kaply
d270a78533 Bug 1496180 - Add security devices description and correct error parsing. r=flod,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7747
2018-10-04 17:04:42 +00:00
Arshad Kazmi
7f58f9012f Bug 1491268 - Bookmarks policy's last field is displayed in same color like all other rows r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7238
2018-10-02 14:17:29 +00:00
Michael Kaply
dc8194ec8d Bug 1493249 - Add policy for security devices. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D6525
2018-10-02 03:47:17 +00:00
Ciure Andrei
fa39ba79ee Merge inbound to mozilla-central. a=merge 2018-09-28 11:53:32 +03:00
Stephen A Pohl
303be65e7d Bug 1445943: Fix ES lint error on inbound due to a missing comma and macOS test failures. r=me CLOSED TREE 2018-09-27 23:54:18 -04:00
Stephen A Pohl
d6736fdb75 Bug 1445943: Add Enterprise Policy support for macOS. r=mstange,felipe,glandium 2018-09-27 23:08:07 -04:00
Brian Grinstead
f5fda6062b Bug 1460982 - Convert <searchbar> to a Custom Element;r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5912
2018-09-27 23:09:55 +00:00
Ehsan Akhgari
656d8a6a66 Backout changeset ba6be9a8195b (bug 1494145) because it wasn't the right fix 2018-09-27 14:37:06 -04:00