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

Issue 29336349: Issue 3585 - Merge element hiding rules for the same domain (Closed)

Created:
Feb. 13, 2016, 7:27 p.m. by kzar
Modified:
Feb. 17, 2016, 11:47 a.m.
Reviewers:
Sebastian Noack, dean
Visibility:
Public.

Description

Issue 3585 - Merge element hiding rules for the same domain

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebased to use ES2015 features everywhere, limit to 5000 selectors per rule and comma delimit selec… #

Total comments: 6

Patch Set 3 : Addressed more feedback #

Patch Set 4 : Renamed matchDomain variable #

Patch Set 5 : Fixed mistake in generated JSON structure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -27 lines) Patch
M abp2blocklist.js View 1 2 3 4 3 chunks +34 lines, -27 lines 0 comments Download

Messages

Total messages: 10
kzar
Patch Set 1 Not sure how to test this, but I've attached an example generated ...
Feb. 13, 2016, 7:33 p.m. (2016-02-13 19:33:25 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29336349/diff/29336350/abp2blocklist.js File abp2blocklist.js (right): https://codereview.adblockplus.org/29336349/diff/29336350/abp2blocklist.js#newcode270 abp2blocklist.js:270: for (let filter of elemhideFilters) Does these ES2015 features ...
Feb. 15, 2016, 2:33 p.m. (2016-02-15 14:33:11 UTC) #2
dean
On 2016/02/15 14:33:11, Sebastian Noack wrote: > Well, if any CSS selector is invalid it ...
Feb. 15, 2016, 3:47 p.m. (2016-02-15 15:47:00 UTC) #3
kzar
Patch Set 2 : Rebased to use ES2015 features everywhere, limit to 5000 selectors per ...
Feb. 15, 2016, 6:19 p.m. (2016-02-15 18:19:21 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29336349/diff/29336418/abp2blocklist.js File abp2blocklist.js (right): https://codereview.adblockplus.org/29336349/diff/29336418/abp2blocklist.js#newcode105 abp2blocklist.js:105: return [included.map(matchDomain), filter.selector]; How about returning an object here? ...
Feb. 15, 2016, 7:48 p.m. (2016-02-15 19:48:48 UTC) #5
kzar
Patch Set 3 : Addressed more feedback https://codereview.adblockplus.org/29336349/diff/29336418/abp2blocklist.js File abp2blocklist.js (right): https://codereview.adblockplus.org/29336349/diff/29336418/abp2blocklist.js#newcode105 abp2blocklist.js:105: return [included.map(matchDomain), ...
Feb. 16, 2016, 3:05 p.m. (2016-02-16 15:05:09 UTC) #6
kzar
Patch Set 4 : Renamed matchDomain variable
Feb. 16, 2016, 3:14 p.m. (2016-02-16 15:14:22 UTC) #7
Sebastian Noack
LGTM
Feb. 16, 2016, 3:54 p.m. (2016-02-16 15:54:07 UTC) #8
kzar
Patch Set 5 : Fixed mistake in generated JSON structure
Feb. 16, 2016, 7:03 p.m. (2016-02-16 19:03:32 UTC) #9
Sebastian Noack
Feb. 17, 2016, 7:51 a.m. (2016-02-17 07:51:25 UTC) #10
Still LGTM

Powered by Google App Engine
This is Rietveld