Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29340852: Issue 3993 - Implement Utils.yield() in a better way (ABP/Firefox part) (Closed)

Created:
April 26, 2016, 6:50 p.m. by Wladimir Palant
Modified:
April 28, 2016, 12:23 p.m.
Reviewers:
Erik
Visibility:
Public.

Description

Issue 3993 - Implement Utils.yield() in a better way (ABP/Firefox part) The other part is under https://codereview.adblockplus.org/29340849/. Repository: hg.adblockplus.org/adblockplus

Patch Set 1 #

Total comments: 4

Patch Set 2 : Finalized revisions and added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -7 lines) Patch
M dependencies View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/io.js View 1 3 chunks +7 lines, -4 lines 0 comments Download
M lib/utils.js View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5
Wladimir Palant
April 26, 2016, 6:50 p.m. (2016-04-26 18:50:07 UTC) #1
Wladimir Palant
https://codereview.adblockplus.org/29340852/diff/29340853/dependencies File dependencies (right): https://codereview.adblockplus.org/29340852/diff/29340853/dependencies#newcode4 dependencies:4: adblockpluscore = adblockpluscore hg:8eaa5ae95fc0 git:??????? This depends on https://codereview.adblockplus.org/29340849/, ...
April 26, 2016, 6:52 p.m. (2016-04-26 18:52:56 UTC) #2
Erik
On 2016/04/26 18:52:56, Wladimir Palant wrote: > https://codereview.adblockplus.org/29340852/diff/29340853/dependencies > File dependencies (right): > > https://codereview.adblockplus.org/29340852/diff/29340853/dependencies#newcode4 ...
April 28, 2016, 12:51 a.m. (2016-04-28 00:51:37 UTC) #3
Erik
https://codereview.adblockplus.org/29340852/diff/29340853/lib/io.js File lib/io.js (right): https://codereview.adblockplus.org/29340852/diff/29340853/lib/io.js#newcode135 lib/io.js:135: listener.process(null); On 2016/04/26 18:52:56, Wladimir Palant wrote: > Note ...
April 28, 2016, 12:51 a.m. (2016-04-28 00:51:48 UTC) #4
Wladimir Palant
April 28, 2016, 12:18 p.m. (2016-04-28 12:18:34 UTC) #5
https://codereview.adblockplus.org/29340852/diff/29340853/lib/io.js
File lib/io.js (right):

https://codereview.adblockplus.org/29340852/diff/29340853/lib/io.js#newcode135
lib/io.js:135: listener.process(null);
On 2016/04/28 00:51:48, Erik wrote:
> On 2016/04/26 18:52:56, Wladimir Palant wrote:
> > Note that return value is ignored here - turning onSuccess into a generator
is
> > complicated, and delaying isn't really necessary for these final two calls.
> 
> worth adding a comment for I think, which says what you have above.

Done.

Powered by Google App Engine
This is Rietveld