Commit Graph

17 Commits

Author SHA1 Message Date
Michael Kaply
c34c5684c8 Bug 1586453 - Don't try to wait for favicons in policy r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D48240
2019-10-24 17:05:58 +00:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Kris Maglione
856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -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
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
Soeren Hentzschel
348cd5204e Bug 1483431 - improve design of about:policies. r=felipe 2018-08-30 18:20:25 -03: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
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
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
Felipe Gomes
3314cc8950 Bug 1429178 - Policy: Implement website blocklist/allowlist. r=mixedpuppy
MozReview-Commit-ID: EAX0VwxlggK
2018-03-28 09:29:17 -05:00
Felipe Gomes
9480e1f2d7 Bug 1429177 - Policy: Set network proxy settings. r=mixedpuppy 2018-03-19 02:15:50 -03:00
Felipe Gomes
365690c112 Bug 1428924 - Policy: Allow creation of bookmarks in the Bookmarks toolbar, Menu, or a folder inside them. r=mak
MozReview-Commit-ID: 7w8kKypShgj
2018-02-23 21:56:43 -03:00
Andreea Pavel
487427d3a4 Backed out changeset 771e1f428eea (bug 1428924) for failing mochitest browser chrome at browser/components/enterprisepolicies/tests/browser/browser_policy_bookmarks.js on a CLOSED TREE 2018-02-23 02:00:58 +02:00
Felipe Gomes
e549744c77 Bug 1428924 - Policy: Allow creation of bookmarks in the Bookmarks toolbar, Menu, or a folder inside them. r=mak
MozReview-Commit-ID: 2k2Cl10AV9C
2018-02-22 17:47:50 -03:00
Felipe Gomes
73d78de3ca Bug 1440030 - CamelCase existing policies to match industry standard. r=mkaply 2018-02-22 00:46:09 -03:00
Felipe Gomes
1352891432 Bug 1429148 - Policy: Don't let a Master Password to be set. r=keeler
MozReview-Commit-ID: 8Adqg0KU7cZ
2018-02-20 20:46:11 -03:00
Felipe Gomes
e03c7564ff Bug 1419102 - Implement the Enterprise Policies feature to provide enterprise users with easier control and setup of deployments of Firefox. r=Mossop
This feature is currently disabled behind a pref, but this pref will be removed when we're green to release it.

MozReview-Commit-ID: 3ZH2UJVdtC0
2018-01-22 17:01:48 -02:00