Florian Quèze
38c24463e4
Bug 1353542 - Cleanup the script output and fix tests, r=Mossop.
2017-05-12 14:54:05 +02: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
6cc0b6e992
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51: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
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +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
Jared Wein
5a181760cc
Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
...
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.
MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04: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
Florian Quèze
73074c2660
Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
2017-03-07 15:29:48 +01:00
Florian Quèze
c7eae86054
Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
2017-03-07 15:29:48 +01:00
Mark Banner
55868dde7c
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -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
12596ced47
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Mark Banner
8ddd9bb511
Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
...
MozReview-Commit-ID: 8svkCKZHxsq
2016-11-08 12:49:32 +00:00
Jared Wein
b6817d7876
Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
...
MozReview-Commit-ID: 1mhCWplknyN
2016-11-07 22:34:25 -05:00
Iris Hsiao
d24e67dbe4
Backed out changeset f6f28be8d8f2 (bug 1315781) for XPCShell test timed out
2016-11-10 14:53:46 +08:00
Jared Wein
0c41af265f
Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
...
MozReview-Commit-ID: DnpVQRrG9Ec
2016-11-07 22:34:25 -05:00
Sebastian Hengst
6cf65ed900
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
...
MozReview-Commit-ID: I5LuDjnM7By
2016-11-05 11:29:22 +01: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
Mark Banner
233309fbe2
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Jared Wein
ebf1ccbe46
Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
...
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04: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
Jan Varga
e6e5ce2cf2
Bug 1246828 - Part 4: Rename profile-before-change2 to profile-before-change-qm and profile-before-change3 to profile-before-change-telemetry; r=asuth
2016-06-15 11:49:04 +01:00
Jan Varga
bf3158df91
Bug 1246828 - Part 1: Add an additional notification profile-before-change3 and update telemetry sending code to use it; r=asuth
2016-06-15 11:48:39 +01:00
Andrew McCreight
94a54b2b7e
Bug 1277052 - Remove the unused xpcomThreadsShutdown. r=Yoric
...
This should be xpcom-shutdown-threads, not xpcom-threads-shutdown, but
it is unused so I just removed it.
2016-06-01 15:05:54 -07:00
Andrew McCreight
56efa686c2
Bug 1277067 - Remove nsIAsyncShutdown.contentChildShutdown. r=Yoric
2016-06-01 15:05:54 -07:00
Andrew McCreight
4556cffe24
Bug 1276383 - Add nsIAsyncShutdown.xpcomWillShutdown and use it in WebRTC. r=Yoric,jib
2016-06-01 15:05:53 -07:00
Dave Townsend
769fc8f245
Bug 1257246: Update toolkit for eslint 2. r=Gijs
...
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: KHYdAkRvhVr
2016-04-05 11:33:48 -07:00
David Rajchenbach-Teller
e0a3c2981b
Bug 1249590 - Bullet-proofing AsyncShutdown wrt exceptions;r=froydnj
...
While investigating bug 1248489, we discovered that some code paths in
AsyncShutdown could possibly be sensitive to exceptions being thrown
in unexpected places. This patch attempts to make AsyncShutdown more
robust to such exceptions.
MozReview-Commit-ID: 5ImL9YNVgQr
2016-02-19 12:51:04 +01:00
Dave Townsend
19cbe3ec72
Bug 1245649: Enable no-negated-in-lhs, no-native-reassign, no-func-assign and no-labels. r=MattN
2016-02-03 20:47:08 -08:00
Dave Townsend
a215a4a95a
Bug 1245649: Turn on no-extra-semi. r=markh
2016-02-03 17:27:36 -08:00
Dave Townsend
8dc7f59eb3
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
2015-11-30 13:05:00 -08:00
Mike Conley
b18f10e7b5
Bug 1177310 - Add quit-application-granted to AsyncShutdown parent process phases. r=Yoric
2015-11-13 14:47:13 -05:00
Boris Zbarsky
1892742f92
Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust
2015-11-25 15:48:09 -05:00
David Rajchenbach-Teller
d014f8aaeb
Bug 1216972 - AsyncShutdown for content processes. r=froydnj
2015-11-19 00:09:58 +01:00
David Rajchenbach-Teller
be211d93a0
Bug 1215885 - Adding a shutdown phase placesClosingInternalConnection. r=froydnj
2015-10-21 12:30:30 +02:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Oliver Henshaw
4c37d12c5a
Bug 1164886 - Add optional logging for async shutdown barriers. r=Yoric
2015-06-04 07:01:00 -04:00
Jim Chen
18e14d14e2
Bug 1163840 - Lazy-init blocker stack in AsyncShutdown to save startup time; r=Yoric
2015-06-02 16:31:24 -04:00
Ganesh Sahukari
8f20474a84
Bug 1155643 - Removed nsIDebug.idl, moved methods of nsIDebug to nsIDebug2. r=paolo
2015-05-07 10:58:37 +05:30
ziyunfei
649e7033e4
Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till
2015-04-30 00:32:05 +09:00
Sebastian Hengst
e35e29ccdb
Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin
2015-03-15 19:36:24 +01:00
David Rajchenbach-Teller
397f7d8112
Bug 1112640 - In an AsyncShutdown Barrier, addBlocker may now be called while we are already waiting for completion of the barrier. r=froydnj
2015-01-14 16:32:41 +01:00
Andrew Halberstadt
11b824f09b
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00