Commit Graph

25 Commits

Author SHA1 Message Date
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
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
Michael Kaply
e49135c13f Bug 1413298 - Allow search encoding to be specifed by WebExtension. r=florian,mixedpuppy
MozReview-Commit-ID: 4O73NlqIfjm
2017-10-31 20:15:49 -05:00
Csoregi Natalia
367f35bbc9 Backed out 1 changesets (bug 1413298)
Backed out changeset 2b8095d47140 (bug 1413298) for failing ESLINT browser_ext_settings_overrides_search.js:37 r=backout on a CLOSED TREE
2017-11-01 15:11:39 +02:00
Michael Kaply
dfba44429f Bug 1413298 - Allow search encoding to be specifed by WebExtension. r=florian,mixedpuppy
MozReview-Commit-ID: 4O73NlqIfjm
2017-10-31 20:15:49 -05:00
Michael Kaply
2be5d65247 Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK
2017-09-07 19:38:55 -05:00
Sebastian Hengst
2086ee8ef6 Backed out changeset 7e8e47c972f4 (bug 1397975) for eslint failure at browser/components/extensions/ext-chrome-settings-overrides.js:124: windowTracker is not defined. r=backout 2017-09-21 22:56:07 +02:00
Michael Kaply
b915722337 Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK
2017-09-07 19:38:55 -05:00
Michael Kaply
146fab608c Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3
2017-07-18 11:28:33 -05:00
Sebastian Hengst
8dcc1cbd4a Backed out changeset 5d5c1a6c3f3a (bug 1378882) for eslint failures at ext-chrome-settings-overrides.js:37 and ext-chrome-settings-overrides.js:37. r=backout 2017-08-24 18:28:02 +02:00
Michael Kaply
88553805f7 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3
2017-07-18 11:28:33 -05:00
Michael Kaply
8181264d88 Bug 1390153 - Add support for suggest_url to WebExtension added engines. r=mixedpuppy
MozReview-Commit-ID: IPsDbwZ8KSy
2017-08-14 10:56:47 -05:00
Wes Kocher
518592e048 Backed out changeset c49af70f1a94 (bug 1378882) for eslint failures in ext-chrome-settings-overrides.js a=backout CLOSED TREE
MozReview-Commit-ID: DAuBI2jFzG3
2017-07-18 22:44:06 -07:00
Michael Kaply
ce627f6470 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3
2017-07-18 11:28:33 -05:00
Bob Silverberg
0ae12dfd8e Bug 1374237 - Part 3: Declare all top-level functions in browser API files files via const., r=mixedpuppy
Also changed some function names to attempt to guarantee uniqueness across API files.

MozReview-Commit-ID: FU5JU1lRHzn
2017-06-21 16:13:00 -04:00
Michael Kaply
ad1d75c3c5 Bug 1301315 - Add support for chrome_settings_overrides search engine. r=mixedpuppy
MozReview-Commit-ID: IkpigS3wqs1
2017-06-02 15:59:43 -05:00
Kris Maglione
937291f42b Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
MozReview-Commit-ID: BQoWF9nHOuF
2017-04-02 11:59:55 -07:00
Michael Kaply
ba4a954649 Bug 1341458 - Move homepage to chrome_settings_overrides. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: 5wtaUxXco8z
2017-03-07 10:31:43 -06:00