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

Issue 29863604: Issue 6865 - Update ABP dependency to version 3.2 (Closed)

Created:
Aug. 24, 2018, 8:38 p.m. by diegocarloslima
Modified:
Jan. 21, 2019, noon
Reviewers:
Thomas Greiner, jens
CC:
anton
Visibility:
Public.

Description

Issue 6865 - Update ABP dependency to version 3.2

Patch Set 1 #

Patch Set 2 : Removing patch file #

Total comments: 22

Patch Set 3 : Adjustments based on comments #

Patch Set 4 : Removing allowed contexts #

Patch Set 5 : Adjusting build script and removing extension first run page #

Total comments: 8

Patch Set 6 : Adjusting code style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+433 lines, -471 lines) Patch
M adblockplus/build.py View 1 2 3 4 1 chunk +40 lines, -26 lines 0 comments Download
M adblockplus/extensionBridge.js View 1 2 3 4 5 1 chunk +177 lines, -310 lines 0 comments Download
M adblockplus/issue-6070.patch View 2 chunks +6 lines, -6 lines 0 comments Download
R adblockplus/issue-6108.patch View 1 1 chunk +0 lines, -42 lines 0 comments Download
A adblockplus/issue-6865.patch View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M adblockplus/metadata.gecko View 1 chunk +3 lines, -3 lines 0 comments Download
M dependencies View 1 chunk +2 lines, -2 lines 0 comments Download
M ensure_dependencies.py View 7 chunks +75 lines, -8 lines 0 comments Download
M mobile/android/base/java/org/adblockplus/browser/AbpCheckBoxPreference.java View 1 chunk +2 lines, -2 lines 0 comments Download
M mobile/android/base/java/org/adblockplus/browser/BrowserAppUtils.java View 2 chunks +2 lines, -2 lines 0 comments Download
M mobile/android/base/java/org/adblockplus/browser/ExtensionBridge.java View 5 chunks +18 lines, -18 lines 0 comments Download
M mobile/android/base/java/org/adblockplus/browser/MoreSubscriptionsPreferenceGroup.java View 1 2 3 4 5 5 chunks +9 lines, -9 lines 0 comments Download
M mobile/android/base/java/org/adblockplus/browser/SubscriptionContainer.java View 1 2 3 4 5 5 chunks +21 lines, -28 lines 0 comments Download
M mobile/android/base/java/org/adblockplus/browser/SubscriptionPreferenceCategory.java View 1 2 3 4 5 3 chunks +4 lines, -5 lines 0 comments Download
M mobile/android/base/java/org/adblockplus/browser/WhitelistedWebsitesPreferenceGroup.java View 3 chunks +3 lines, -3 lines 0 comments Download
M mobile/android/base/java/org/mozilla/gecko/GeckoApplication.java View 1 chunk +2 lines, -2 lines 0 comments Download
M mobile/android/base/moz.build View 1 chunk +1 line, -1 line 0 comments Download
M mobile/android/chrome/content/browser.js View 1 chunk +0 lines, -4 lines 0 comments Download
M toolkit/components/extensions/ext-c-runtime.js View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M toolkit/components/extensions/schemas/runtime.json View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 9
diegocarloslima
Aug. 24, 2018, 8:44 p.m. (2018-08-24 20:44:09 UTC) #1
anton
https://codereview.adblockplus.org/29863604/diff/29863624/adblockplus/extensionBridge.js File adblockplus/extensionBridge.js (right): https://codereview.adblockplus.org/29863604/diff/29863624/adblockplus/extensionBridge.js#newcode53 adblockplus/extensionBridge.js:53: do we need this empty line? https://codereview.adblockplus.org/29863604/diff/29863624/mobile/android/base/java/org/adblockplus/browser/SubscriptionContainer.java File mobile/android/base/java/org/adblockplus/browser/SubscriptionContainer.java ...
Aug. 27, 2018, 5:57 a.m. (2018-08-27 05:57:10 UTC) #2
Thomas Greiner
https://codereview.adblockplus.org/29863604/diff/29863624/adblockplus/build.py File adblockplus/build.py (right): https://codereview.adblockplus.org/29863604/diff/29863624/adblockplus/build.py#newcode33 adblockplus/build.py:33: "subscriptions.xml") The canonical version of subscriptions.xml is located in ...
Aug. 27, 2018, 3:24 p.m. (2018-08-27 15:24:42 UTC) #3
diegocarloslima
https://codereview.adblockplus.org/29863604/diff/29863624/adblockplus/build.py File adblockplus/build.py (right): https://codereview.adblockplus.org/29863604/diff/29863624/adblockplus/build.py#newcode33 adblockplus/build.py:33: "subscriptions.xml") On 2018/08/27 15:24:41, Thomas Greiner wrote: > The ...
Aug. 27, 2018, 9:19 p.m. (2018-08-27 21:19:17 UTC) #4
Thomas Greiner
https://codereview.adblockplus.org/29863604/diff/29863624/toolkit/components/extensions/schemas/runtime.json File toolkit/components/extensions/schemas/runtime.json (right): https://codereview.adblockplus.org/29863604/diff/29863624/toolkit/components/extensions/schemas/runtime.json#newcode164 toolkit/components/extensions/schemas/runtime.json:164: "allowedContexts": ["content", "devtools"], On 2018/08/27 21:19:17, diegocarloslima wrote: > ...
Aug. 28, 2018, 10:36 a.m. (2018-08-28 10:36:07 UTC) #5
jens
Just minor remarks for the Java part. For the JS part it would be good ...
Jan. 10, 2019, 2:11 p.m. (2019-01-10 14:11:00 UTC) #6
Thomas Greiner
LGTM concerning the JavaScript. Only added a coding style-related comment. https://codereview.adblockplus.org/29863604/diff/29976555/adblockplus/extensionBridge.js File adblockplus/extensionBridge.js (right): https://codereview.adblockplus.org/29863604/diff/29976555/adblockplus/extensionBridge.js#newcode217 ...
Jan. 14, 2019, 4:38 p.m. (2019-01-14 16:38:14 UTC) #7
diegocarloslima
https://codereview.adblockplus.org/29863604/diff/29976555/adblockplus/extensionBridge.js File adblockplus/extensionBridge.js (right): https://codereview.adblockplus.org/29863604/diff/29976555/adblockplus/extensionBridge.js#newcode217 adblockplus/extensionBridge.js:217: return properties.every(function(item) { On 2019/01/14 16:38:13, Thomas Greiner wrote: ...
Jan. 16, 2019, 1:44 p.m. (2019-01-16 13:44:23 UTC) #8
jens
Jan. 16, 2019, 4:54 p.m. (2019-01-16 16:54:50 UTC) #9
On 2019/01/16 13:44:23, diegocarloslima wrote:
>
https://codereview.adblockplus.org/29863604/diff/29976555/adblockplus/extensi...
> File adblockplus/extensionBridge.js (right):
> 
>
https://codereview.adblockplus.org/29863604/diff/29976555/adblockplus/extensi...
> adblockplus/extensionBridge.js:217: return properties.every(function(item) {
> On 2019/01/14 16:38:13, Thomas Greiner wrote:
> > Coding style: "Opening braces always go on their own line."
> 
> Acknowledged.
> 
>
https://codereview.adblockplus.org/29863604/diff/29976555/mobile/android/base...
> File
>
mobile/android/base/java/org/adblockplus/browser/MoreSubscriptionsPreferenceGroup.java
> (right):
> 
>
https://codereview.adblockplus.org/29863604/diff/29976555/mobile/android/base...
>
mobile/android/base/java/org/adblockplus/browser/MoreSubscriptionsPreferenceGroup.java:84:
> 
> On 2019/01/10 14:10:59, jens wrote:
> > Context could be final.
> 
> Acknowledged.
> 
>
https://codereview.adblockplus.org/29863604/diff/29976555/mobile/android/base...
> File
mobile/android/base/java/org/adblockplus/browser/SubscriptionContainer.java
> (right):
> 
>
https://codereview.adblockplus.org/29863604/diff/29976555/mobile/android/base...
>
mobile/android/base/java/org/adblockplus/browser/SubscriptionContainer.java:50:
> private SubscriptionContainer(final Context context)
> On 2019/01/10 14:10:59, jens wrote:
> > To be consistent, Context should be final in all constructors and in the
> > loadSubscriptions() method.
> 
> Acknowledged.
> 
>
https://codereview.adblockplus.org/29863604/diff/29976555/mobile/android/base...
> File
>
mobile/android/base/java/org/adblockplus/browser/SubscriptionPreferenceCategory.java
> (right):
> 
>
https://codereview.adblockplus.org/29863604/diff/29976555/mobile/android/base...
>
mobile/android/base/java/org/adblockplus/browser/SubscriptionPreferenceCategory.java:56:
> private static synchronized void initSubscriptions(Context context)
> On 2019/01/10 14:10:59, jens wrote:
> > Context could be final.
> 
> Acknowledged.

LGTM

Powered by Google App Engine
This is Rietveld