Commit Graph

30 Commits

Author SHA1 Message Date
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
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
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
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
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
Mike Conley
b18f10e7b5 Bug 1177310 - Add quit-application-granted to AsyncShutdown parent process phases. r=Yoric 2015-11-13 14:47:13 -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
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
David Rajchenbach-Teller
5369a1dc56 Bug 918317 - Implementation of nsAsyncShutdown. r=froydnj, r=glandium 2014-09-11 09:01:00 -04:00