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

Issue 29896562: Issue 7003 - Look up whitelist filter only if URL is blocked (Closed)

Created:
Sept. 30, 2018, 8:55 a.m. by Manish Jethani
Modified:
Oct. 23, 2018, 12:03 a.m.
Reviewers:
Sebastian Noack, hub
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Check whitelist for whitelist-only types #

Total comments: 2

Patch Set 4 : Refactor a bit #

Patch Set 5 : Inline access to blacklist and whitelist #

Total comments: 7

Patch Set 6 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M lib/matcher.js View 1 2 3 4 5 2 chunks +35 lines, -14 lines 0 comments Download

Messages

Total messages: 13
Manish Jethani
Sept. 30, 2018, 8:55 a.m. (2018-09-30 08:55:56 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29896562/diff/29896563/lib/matcher.js File lib/matcher.js (left): https://codereview.adblockplus.org/29896562/diff/29896563/lib/matcher.js#oldcode371 lib/matcher.js:371: for (let i = 0, l = candidates.length; i ...
Sept. 30, 2018, 1:39 p.m. (2018-09-30 13:39:23 UTC) #2
Manish Jethani
I am more convinced about making this change now. Let me rebase this patch and ...
Oct. 21, 2018, 1:57 p.m. (2018-10-21 13:57:03 UTC) #3
Manish Jethani
Patch Set 2-4 Ready for review. https://codereview.adblockplus.org/29896562/diff/29918560/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918560/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ...
Oct. 21, 2018, 3 p.m. (2018-10-21 15:00:23 UTC) #4
Manish Jethani
Patch Set 5 Also ran the test [1] again and got similar results [1]: https://issues.adblockplus.org/ticket/7003#comment:12
Oct. 21, 2018, 3:58 p.m. (2018-10-21 15:58:21 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ~WHITELIST_ONLY_TYPES) != 0) I wonder if ...
Oct. 21, 2018, 10:41 p.m. (2018-10-21 22:41:39 UTC) #6
Manish Jethani
https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ~WHITELIST_ONLY_TYPES) != 0) On 2018/10/21 22:41:39, ...
Oct. 22, 2018, 11:05 a.m. (2018-10-22 11:05:16 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ~WHITELIST_ONLY_TYPES) != 0) On 2018/10/22 11:05:16, ...
Oct. 22, 2018, 3:04 p.m. (2018-10-22 15:04:31 UTC) #8
Manish Jethani
https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ~WHITELIST_ONLY_TYPES) != 0) On 2018/10/22 15:04:31, ...
Oct. 22, 2018, 8:39 p.m. (2018-10-22 20:39:30 UTC) #9
Manish Jethani
Patch Set 6: Add comments https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ~WHITELIST_ONLY_TYPES) ...
Oct. 22, 2018, 9:16 p.m. (2018-10-22 21:16:20 UTC) #10
Sebastian Noack
https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ~WHITELIST_ONLY_TYPES) != 0) On 2018/10/22 20:39:30, ...
Oct. 22, 2018, 10:12 p.m. (2018-10-22 22:12:35 UTC) #11
Manish Jethani
https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29896562/diff/29918564/lib/matcher.js#newcode336 lib/matcher.js:336: if ((typeMask & ~WHITELIST_ONLY_TYPES) != 0) On 2018/10/22 22:12:35, ...
Oct. 22, 2018, 10:57 p.m. (2018-10-22 22:57:57 UTC) #12
Sebastian Noack
Oct. 22, 2018, 11:13 p.m. (2018-10-22 23:13:52 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld