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

Issue 29362609: Issue 2879 - Restructure existing process script, split it up into multiple modules (Closed)

Created:
Nov. 17, 2016, 8:36 a.m. by Wladimir Palant
Modified:
Dec. 1, 2016, 9:40 a.m.
Reviewers:
saroyanm
Base URL:
https://hg.adblockplus.org/elemhidehelper
Visibility:
Public.

Description

This is a preparation step, merely restructuring existing code.

Patch Set 1 #

Total comments: 25

Patch Set 2 : Addressed comments #

Patch Set 3 : Fixed line length #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -426 lines) Patch
M lib/child/actor.js View 1 2 chunks +18 lines, -156 lines 0 comments Download
A lib/child/bootstrap.js View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
A lib/child/main.js View 1 chunk +11 lines, -0 lines 0 comments Download
M lib/child/nodeInfo.js View 1 2 2 chunks +18 lines, -111 lines 0 comments Download
M lib/child/preview.js View 2 chunks +8 lines, -156 lines 0 comments Download
M lib/main.js View 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 6
Wladimir Palant
Nov. 17, 2016, 8:36 a.m. (2016-11-17 08:36:17 UTC) #1
Wladimir Palant
https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js File lib/child/actor.js (left): https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js#oldcode37 lib/child/actor.js:37: let nodes = new Map(); I copied the same ...
Nov. 17, 2016, 8:42 a.m. (2016-11-17 08:42:58 UTC) #2
saroyanm
Looks good in general, just have couple of comments/questions https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js File lib/child/actor.js (right): https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js#newcode9 lib/child/actor.js:9: ...
Nov. 22, 2016, 2:58 p.m. (2016-11-22 14:58:32 UTC) #3
Wladimir Palant
https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js File lib/child/actor.js (right): https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js#newcode9 lib/child/actor.js:9: let console; On 2016/11/22 14:58:31, saroyanm wrote: > Why ...
Nov. 24, 2016, 2:16 p.m. (2016-11-24 14:16:29 UTC) #4
saroyanm
Just some nits: LGTM https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js File lib/child/actor.js (right): https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/actor.js#newcode9 lib/child/actor.js:9: let console; On 2016/11/24 14:16:29, ...
Nov. 24, 2016, 5:46 p.m. (2016-11-24 17:46:11 UTC) #5
Wladimir Palant
Dec. 1, 2016, 9:40 a.m. (2016-12-01 09:40:49 UTC) #6
https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/bootstrap.js
File lib/child/bootstrap.js (right):

https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/bootstrap...
lib/child/bootstrap.js:16: let {Loader, main, unload} =
Cu.import("resource://gre/modules/commonjs/toolkit/loader.js", {});
On 2016/11/24 17:46:10, saroyanm wrote:
> Nit: Exceeding 80 chars.

Done.

https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/nodeInfo.js
File lib/child/nodeInfo.js (right):

https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/nodeInfo....
lib/child/nodeInfo.js:20:
messageManager.removeMessageListener("ElemHideHelper:GetNodeInfo",
onGetNodeInfo);
On 2016/11/24 17:46:11, saroyanm wrote:
> Nit: Exceeding 80 chars.

Done.

https://codereview.adblockplus.org/29362609/diff/29362610/lib/child/nodeInfo....
lib/child/nodeInfo.js:30:
messageManager.sendAsyncMessage("ElemHideHelper:GetNodeInfo:Response",
nodeInfo);
On 2016/11/24 17:46:11, saroyanm wrote:
> Nit: Exceeding 80 chars.

Done.

Powered by Google App Engine
This is Rietveld