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

Issue 29876561: Issue 6931 - Allow content filters for localhost (Closed)

Created:
Sept. 6, 2018, 10:26 a.m. by Manish Jethani
Modified:
Sept. 10, 2018, 6:31 p.m.
Reviewers:
Sebastian Noack, kzar, hub
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Limit scope to localhost #

Patch Set 3 : Cover ~www.localhost,localhost case #

Total comments: 2

Patch Set 4 : Use includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M lib/filterClasses.js View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M test/filterClasses.js View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12
Manish Jethani
Sept. 6, 2018, 10:26 a.m. (2018-09-06 10:26:58 UTC) #1
Manish Jethani
Patch Set 1
Sept. 6, 2018, 10:28 a.m. (2018-09-06 10:28:19 UTC) #2
Manish Jethani
Patch Set 2: Limit scope to localhost See discussion: https://issues.adblockplus.org/ticket/6931#comment:10 Let's limit the scope of ...
Sept. 7, 2018, 2:03 a.m. (2018-09-07 02:03:06 UTC) #3
Sebastian Noack
This would be good enough to handle the very specific scenario where the domain is ...
Sept. 7, 2018, 3:21 a.m. (2018-09-07 03:21:21 UTC) #4
Manish Jethani
On 2018/09/07 03:21:21, Sebastian Noack wrote: > This would be good enough to handle the ...
Sept. 7, 2018, 3:25 a.m. (2018-09-07 03:25:34 UTC) #5
Sebastian Noack
On 2018/09/07 03:25:34, Manish Jethani wrote: > On 2018/09/07 03:21:21, Sebastian Noack wrote: > > ...
Sept. 7, 2018, 3:52 p.m. (2018-09-07 15:52:35 UTC) #6
Manish Jethani
On 2018/09/07 15:52:35, Sebastian Noack wrote: > On 2018/09/07 03:25:34, Manish Jethani wrote: > > ...
Sept. 10, 2018, 9:25 a.m. (2018-09-10 09:25:40 UTC) #7
Manish Jethani
Patch Set 3: Cover ~www.localhost,localhost case
Sept. 10, 2018, 9:41 a.m. (2018-09-10 09:41:02 UTC) #8
Manish Jethani
On 2018/09/10 09:25:40, Manish Jethani wrote: > This however shows that the regular expression is ...
Sept. 10, 2018, 12:59 p.m. (2018-09-10 12:59:53 UTC) #9
Sebastian Noack
https://codereview.adblockplus.org/29876561/diff/29877555/lib/filterClasses.js File lib/filterClasses.js (right): https://codereview.adblockplus.org/29876561/diff/29877555/lib/filterClasses.js#newcode1135 lib/filterClasses.js:1135: /,localhost,/.test("," + domains + ","))) It seems we don't ...
Sept. 10, 2018, 5:44 p.m. (2018-09-10 17:44:37 UTC) #10
Manish Jethani
Patch Set 4: Use includes https://codereview.adblockplus.org/29876561/diff/29877555/lib/filterClasses.js File lib/filterClasses.js (right): https://codereview.adblockplus.org/29876561/diff/29877555/lib/filterClasses.js#newcode1135 lib/filterClasses.js:1135: /,localhost,/.test("," + domains + ...
Sept. 10, 2018, 5:57 p.m. (2018-09-10 17:57:33 UTC) #11
Sebastian Noack
Sept. 10, 2018, 5:58 p.m. (2018-09-10 17:58:38 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld