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

Issue 29441592: Issue 4329 - Add $genericblock support (Closed)

Created:
May 19, 2017, 1:45 a.m. by Manish Jethani
Modified:
May 22, 2017, 9:16 a.m.
Reviewers:
Sebastian Noack, kzar
Base URL:
https://hg.adblockplus.org/abp2blocklist
Visibility:
Public.

Description

Issue 4329 - Add $genericblock support This affects 23,579 rules in EasyList+AA

Patch Set 1 #

Patch Set 2 : Add unit tests #

Total comments: 2

Patch Set 3 : Fix bug: Make a copy of the exceptionDomains array #

Total comments: 2

Patch Set 4 : Add $genericblock domains after filter-specific exception domains #

Total comments: 2

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -3 lines) Patch
M lib/abp2blocklist.js View 1 2 3 4 5 chunks +23 lines, -2 lines 0 comments Download
M test/abp2blocklist.js View 1 2 3 4 2 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 14
Manish Jethani
May 19, 2017, 1:45 a.m. (2017-05-19 01:45:22 UTC) #1
Manish Jethani
Patch Set 1
May 19, 2017, 1:47 a.m. (2017-05-19 01:47:26 UTC) #2
Manish Jethani
Patch Set 2: Add unit tests
May 19, 2017, 2:12 a.m. (2017-05-19 02:12:32 UTC) #3
kzar
LGTM https://codereview.adblockplus.org/29441592/diff/29441595/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29441592/diff/29441595/lib/abp2blocklist.js#newcode394 lib/abp2blocklist.js:394: if (filter.contentType & typeMap.GENERICBLOCK) Nit: The indentation looks ...
May 19, 2017, 12:05 p.m. (2017-05-19 12:05:39 UTC) #4
Manish Jethani
https://codereview.adblockplus.org/29441592/diff/29441595/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29441592/diff/29441595/lib/abp2blocklist.js#newcode394 lib/abp2blocklist.js:394: if (filter.contentType & typeMap.GENERICBLOCK) On 2017/05/19 12:05:38, kzar wrote: ...
May 20, 2017, 12:22 a.m. (2017-05-20 00:22:10 UTC) #5
Manish Jethani
Patch Set 3: Fix bug: Make a copy of the exceptionsDomains array We have to ...
May 20, 2017, 2 a.m. (2017-05-20 02:00:57 UTC) #6
Sebastian Noack
https://codereview.adblockplus.org/29441592/diff/29442771/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29441592/diff/29442771/lib/abp2blocklist.js#newcode256 lib/abp2blocklist.js:256: let excluded = exceptionDomains && exceptionDomains.slice() || []; Nit: ...
May 20, 2017, 6:25 a.m. (2017-05-20 06:25:29 UTC) #7
Manish Jethani
Patch Set 4: Add $genericblock domains after filter-specific exception domains https://codereview.adblockplus.org/29441592/diff/29442771/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29441592/diff/29442771/lib/abp2blocklist.js#newcode256 ...
May 20, 2017, 7:30 p.m. (2017-05-20 19:30:23 UTC) #8
Manish Jethani
On 2017/05/20 19:30:23, Manish Jethani wrote: > Actually now that I think of it, the ...
May 20, 2017, 7:32 p.m. (2017-05-20 19:32:53 UTC) #9
Sebastian Noack
https://codereview.adblockplus.org/29441592/diff/29443570/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29441592/diff/29443570/lib/abp2blocklist.js#newcode261 lib/abp2blocklist.js:261: excluded = excluded.concat(exceptionDomains); I wonder whether it would be ...
May 21, 2017, 8:44 p.m. (2017-05-21 20:44:35 UTC) #10
Manish Jethani
https://codereview.adblockplus.org/29441592/diff/29443570/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29441592/diff/29443570/lib/abp2blocklist.js#newcode261 lib/abp2blocklist.js:261: excluded = excluded.concat(exceptionDomains); On 2017/05/21 20:44:35, Sebastian Noack wrote: ...
May 21, 2017, 9:03 p.m. (2017-05-21 21:03:57 UTC) #11
Sebastian Noack
LGTM
May 21, 2017, 9:05 p.m. (2017-05-21 21:05:04 UTC) #12
Manish Jethani
Patch Set 5: Rebase
May 21, 2017, 9:27 p.m. (2017-05-21 21:27:51 UTC) #13
Sebastian Noack
May 21, 2017, 9:31 p.m. (2017-05-21 21:31:23 UTC) #14
Still LGTM

Powered by Google App Engine
This is Rietveld