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
Sam R-T, Joseph F, Robin H
0be01d2d28
Bug 1432062 - Require dangling commas via eslint for the migration component. r=MattN
2018-01-22 15:22:35 -08:00
Steve Armand
b03be0d87e
Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
...
MozReview-Commit-ID: 5do3eoCEAMR
2017-09-04 00:49:32 -04:00
Rajesh Kathiriya
bfb3762076
Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
...
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
Aaron Klotz
058ab062bd
Bug 1359548: Fix incorrectly specified ABIs in js-ctypes declaration in migration code; r=Gijs
...
MozReview-Commit-ID: LH1MOyuXVos
2017-04-25 13:02:32 -06: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
Gijs Kruitbosch
bc67e6078a
Bug 1349632 - fix hangs when trying to import bookmarks from Edge, r=dao
...
MozReview-Commit-ID: 1xF16KddJBv
2017-03-25 09:49:26 +00:00
Sebastian Hengst
c6925b33f7
Backed out changeset fff5c87922e6 (bug 1349632) for failing xpcshell test test_Edge_db_migration.js. r=backout
2017-03-23 17:17:03 +01:00
Gijs Kruitbosch
016c6f7a59
Bug 1349632 - fix hangs when trying to import bookmarks from Edge, r=dao
...
MozReview-Commit-ID: 1xF16KddJBv
2017-03-22 18:07:36 +00:00
Jim Porter
8c24212591
Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
...
MozReview-Commit-ID: 1a422BiLEhK
2017-03-13 17:34:24 -05:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
4e295aa48d
Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
...
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Gijs Kruitbosch
bbf79f28ea
Bug 1311043 - make eslint much more strict in browser/components/migration/, and fix issues, r=mikedeboer
...
MozReview-Commit-ID: RXO68w3Kv3
2016-10-18 16:03:06 +01:00
Dave Townsend
17d8a23b3f
Bug 1257246: Update browser for eslint 2. r=felipe
...
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.
MozReview-Commit-ID: DEskVIjiKDM
2016-04-05 11:33:33 -07:00
Gijs Kruitbosch
3ef81462ae
Bug 1236154 - add test for ESE migration code, r=MattN
...
MozReview-Commit-ID: 5lILvkVn3tW
2016-02-11 18:46:32 +00:00
Gijs Kruitbosch
400c2b60e9
Bug 1226556 - part 3: add tableExists to ESEDBReader, use it to fall back to normal bookmarks migration, r=MattN
2016-02-03 14:46:36 +00:00
Gijs Kruitbosch
0fb84b1255
Bug 1226556 - part 2: use ESE database to import Edge bookmarks, r=MattN
2016-01-30 11:22:19 +00:00
Gijs Kruitbosch
4b85ce4202
Bug 1226556 - part 1: allow reading GUID columns in ESEDBReader.jsm, r=MattN
2016-01-30 11:21:40 +00:00
Gijs Kruitbosch
5d78de5be4
Bug 1229076 - use JS module for reading ESE database, r=MattN
2015-12-01 20:24:54 +00:00