Commit Graph

29 Commits

Author SHA1 Message Date
Mark Banner
acbefc481e Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer
MozReview-Commit-ID: 45Tfs2ZZ06r
2018-07-25 11:00:35 +01:00
Narcis Beleuzu
c2c876bd2a Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner
776b40e8be Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer
MozReview-Commit-ID: 45Tfs2ZZ06r
2018-07-25 11:00:35 +01:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Mark Striemer
1c2934d1bf Bug 1412873 - Disarm JSONFile when trying to discard changes in preferences tests r=aswan
MozReview-Commit-ID: 5l0yRop3guh
2018-02-12 15:51:48 -06:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Mark Striemer
3c3b226b47 Bug 1411123 - Enable settings when set in ExtensionSettingsStore r=aswan
MozReview-Commit-ID: 64LaEoe7V42
2018-01-25 17:17:13 -06:00
Kris Maglione
c8ea1d4273 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk
2017-11-28 14:13:59 -08:00
Bob Silverberg
fb5f544d9c Bug 1404584 Part 2: Convert ext-chrome-settings-overrides to use update and uninstall events, r=aswan,mkaply
MozReview-Commit-ID: KtagRbDz19S
2017-11-01 09:50:03 -04:00
Andrew Swan
26ec3250a3 Bug 1404584 Part 1: Use extensionId in ExtensionSettingsStore and ExtensionPreferencesManager methods, r=aswan
This code changes all of the functions in the ESS and the EPM to accept an extensionId rather than an
extension object, which is required for responding to the new onUpdate event.

MozReview-Commit-ID: FwMVa0fShGj
2017-10-24 20:18:03 -07:00
Mark Striemer
7eda41692e Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF
2017-10-18 14:54:54 -05:00
Phil Ringnalda
f29b26e80a Backed out changeset 607922c730a1 (bug 1386018) for eslint bustage
MozReview-Commit-ID: JKQnKm7Nf4K
2017-10-31 19:12:01 -07:00
Mark Striemer
806e8bd04e Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF
2017-10-18 14:54:54 -05:00
Mark Striemer
5f76299f44 Bug 1411060 - Don't show extension controlled message if add-on isn't installed r=bsilverberg
MozReview-Commit-ID: IRrWA3simqf
2017-10-23 22:45:38 -05:00
Sebastian Hengst
6090308fdf Backed out changeset ba4a39241953 (bug 1386018) for xpcshell failures, e.g. toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js on Linux debug. r=backout on a CLOSED TREE 2017-10-25 00:32:35 +02:00
Mark Striemer
c48b27c5af Bug 1386018 - Tell users that the default search engine was set by an extension r=bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF
2017-10-18 14:54:54 -05:00
Mark Striemer
69b5c742a6 Bug 1354344 - Show extension controlling home page in preferences r=bsilverberg,jaws
MozReview-Commit-ID: 9mU3SvdK91c
2017-09-07 11:35:06 -05:00
Bob Silverberg
2e01e83446 Bug 1381605 - Do not load ExtensionSettingsStore's JSON file synchronously, r=aswan
MozReview-Commit-ID: 7lQp9hL9pNd
2017-07-24 15:49:30 -04:00
Bob Silverberg
e362a82d5a Bug 1381297 - Store the installDate of an extension as a number in the extension-settings.json file, r=aswan
MozReview-Commit-ID: 1P7hy23Yyk6
2017-07-20 09:02:36 -04:00
Bob Silverberg
6dc2daeef1 Bug 1330494 - Part 1: Remove async from functions in ExtensionSettingsStore that don't need to be async, r=aswan
MozReview-Commit-ID: KmpBdrLmVNK

Also added a hasSetting method to ExtensionSettingsStore to check whether a particular extension has a
setting stored for a particulay key.
2017-06-29 11:27:47 -07:00
Mark Banner
b1b7a75372 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr
2017-07-11 22:49:55 +01:00
Bob Silverberg
fdc0a0a28c Bug 1367453 - Do not throw an exception from ExtensionSettingsStore when trying to remove a setting that was not previously set, r=mixedpuppy
This changes the behaviour of ExtensionSettingsStore so that attempting to remove a setting that was not previously set does
not throw an exception. This allows things like privacy.network.webRTCIPHandlingPolicy.clear() to be called without having
previously called privacy.network.webRTCIPHandlingPolicy.set().

MozReview-Commit-ID: FFCOFHk5lhb
2017-05-24 12:29:16 -04:00
Bob Silverberg
71100acdb9 Bug 1341277 - Part 1: Update ExtensionSettingsStore to support disabled settings. r=aswan
MozReview-Commit-ID: 4N67JXfO81D
2017-02-22 11:35:10 -05:00
Bob Silverberg
d997693083 Bug 1320736 - Part 2: Create ExtensionSettingsStore module, r=aswan
MozReview-Commit-ID: A6zWB58OAlB
2017-01-12 17:12:05 -05:00