Commit Graph

30 Commits

Author SHA1 Message Date
Brian Grinstead
c116f51a86 Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId
2018-02-27 11:29:59 -08: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
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
Dennis Schubert
3d2be320fe Bug 1376602 - Part 1: Import sources for WebCompat Go Faster 1.2. r=Felipe
MozReview-Commit-ID: cLuF81S7H4
2017-08-04 14:30:25 +02:00
Ryan VanderMeulen
4122f66bfc Backed out changesets c95150c0fe9d and 9c1e1102bbc3 (bug 1376602) for ESLint failures. 2017-08-09 22:33:52 -04:00
Dennis Schubert
d3d1c42fda Bug 1376602 - Part 1: Import sources for WebCompat Go Faster 1.2. r=Felipe
MozReview-Commit-ID: cLuF81S7H4
2017-08-04 14:30:25 +02:00
Wes Kocher
ae7f2f4114 Bug 1383567 - Fix web compatibility BUG_COMPONENTs r=miketaylr
MozReview-Commit-ID: DoCWeHOsYTq
2017-07-23 14:20:19 -07:00
Mark Banner
9fc03b12e9 Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Dennis Schubert
cd15bebaaf Bug 1337905 - Update WebCompat Go Faster addon to version 1.1. r=Felipe
MozReview-Commit-ID: FMgf5E9Obzk
2017-02-10 11:15:56 +01:00
Mark Banner
ba10e01046 Bug 1336070 - Enable eslint no-undef for browser/, apart from components/ and base/content/. r=mossop
MozReview-Commit-ID: CJtpm8zlLxa
2017-02-02 09:08:42 +00:00
Dennis Schubert
9f1d39daf9 Bug 1308271 - Import sources of the WebCompat Go Faster add-on V1. r=Felipe
MozReview-Commit-ID: 58iV4MqTeKA
2017-01-25 20:15:11 +01:00
Mark Banner
c0170c9aa4 Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws
Drop linting of the .eslintrc.js config files.
Fix some minor errors in the code (missing let/const, undefined vars).
Let eslint know that some files get their globals from other places (typically via xul script tags).

MozReview-Commit-ID: CwxuwPtRUr6
2016-10-18 12:34:35 +01:00
Robert Helmer
500fe1bf00 Bug 1303514 - correct comments and simplify test messages in webcompat system add-on r=MattN
MozReview-Commit-ID: 44EJFGhdWEn
2016-09-17 00:43:17 -07:00
Matthew Noorenberghe
4a52c7fb3a Bug 1303469 - Stub form autofill system extension. r=rhelmer
MozReview-Commit-ID: JXbUQdCwXN0
2016-09-18 14:07:51 +08:00
Phil Ringnalda
15adb5c22d Backed out 2 changesets (bug 1303469) for unexpected file access failures in xperf
Backed out changeset 86b10c4dce3b (bug 1303469)
Backed out changeset 03f631f0fca7 (bug 1303469)
2016-09-17 09:13:36 -07:00
Matthew Noorenberghe
18325cac2a Bug 1303469 - Stub form autofill system extension. r=rhelmer
MozReview-Commit-ID: JXbUQdCwXN0
2016-09-16 16:11:28 -07:00
Mark Banner
fc60763bf9 Bug 1291416. Mark the webcompat system add-on as e10s compatible as it is just a stub. r=mconley
MozReview-Commit-ID: CTnxRysC1Lp
2016-08-02 21:50:20 +01:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Mark Banner
bec5127536 Bug 1256686 - System add-ons should have a more flexible maximum version for easier use with point releases. r=glandium 2016-07-05 18:40:44 +01:00
Robert Helmer
0d1d0cdbd2 Bug 1268197 - stub for webcompat fix system add-on r=kmag
MozReview-Commit-ID: K56apkJhP3p
2016-04-27 16:11:16 -07:00