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

Issue 29329246: Issue 3108 - Inject our about: module into all processes (Closed)

Created:
Oct. 16, 2015, 12:02 p.m. by Wladimir Palant
Modified:
Oct. 16, 2015, 8:03 p.m.
Reviewers:
Thomas Greiner
CC:
tschuster
Visibility:
Public.

Description

Issue 3108 - Inject our about: module into all processes

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -36 lines) Patch
A lib/child/bootstrap.js View 1 chunk +92 lines, -0 lines 3 comments Download
A lib/child/main.js View 1 chunk +18 lines, -0 lines 0 comments Download
M lib/contentPolicy.js View 2 chunks +2 lines, -2 lines 1 comment Download
M lib/elemHide.js View 4 chunks +60 lines, -6 lines 1 comment Download
M lib/elemHideHitRegistration.js View 2 chunks +64 lines, -22 lines 0 comments Download
M lib/main.js View 1 chunk +38 lines, -0 lines 0 comments Download
M lib/utils.js View 1 chunk +1 line, -1 line 0 comments Download
M metadata.gecko View 1 chunk +5 lines, -5 lines 1 comment Download

Messages

Total messages: 4
Wladimir Palant
Oct. 16, 2015, 12:03 p.m. (2015-10-16 12:03:00 UTC) #1
Wladimir Palant
https://codereview.adblockplus.org/29329246/diff/29329247/lib/child/bootstrap.js File lib/child/bootstrap.js (right): https://codereview.adblockplus.org/29329246/diff/29329247/lib/child/bootstrap.js#newcode59 lib/child/bootstrap.js:59: Components, Cc, Ci, Cu, Cr, atob, btoa, onShutdown, bootstrap.js ...
Oct. 16, 2015, 12:15 p.m. (2015-10-16 12:15:11 UTC) #2
Thomas Greiner
LGTM Also the comments you attached were quite helpful so thanks for adding those. https://codereview.adblockplus.org/29329246/diff/29329247/lib/child/bootstrap.js ...
Oct. 16, 2015, 3:40 p.m. (2015-10-16 15:40:25 UTC) #3
Wladimir Palant
Oct. 16, 2015, 5:52 p.m. (2015-10-16 17:52:03 UTC) #4
https://codereview.adblockplus.org/29329246/diff/29329247/lib/child/bootstrap.js
File lib/child/bootstrap.js (right):

https://codereview.adblockplus.org/29329246/diff/29329247/lib/child/bootstrap...
lib/child/bootstrap.js:59: Components, Cc, Ci, Cu, Cr, atob, btoa, onShutdown,
On 2015/10/16 15:40:25, Thomas Greiner wrote:
> I couldn't find a better one either. We could implement our own module
resolver
> but that would end up being even more effort.

The alternative is exposing this property as components rather than Components
(the SDK does that) but I'd rather keep it consistent with the current
bootstrap.js in buildtools. We could use the SDK loader there as well, but
currently I have doubts that this would make sense (requires significant effort,
e.g. testing the performance impact, yet doesn't give us anything other than
being consistent with the SDK which seems to be doomed as well).

Powered by Google App Engine
This is Rietveld