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

Issue 29863644: Issue 6870 - Remove support for legacy :-abp-properties() syntax (Closed)

Created:
Aug. 25, 2018, 4:49 a.m. by Jon Sonesen
Modified:
Aug. 29, 2018, 5:51 a.m.
Reviewers:
Manish Jethani
CC:
kzar
Base URL:
https://hg.adblockplus.org/adblockpluscore
Visibility:
Public.

Description

Issue 6870 - Drop support for legacy special selector syntax

Patch Set 1 #

Patch Set 2 : Add check for legacy syntax and return of InvalidFilter #

Total comments: 4

Patch Set 3 : Address PS2 comment #

Total comments: 2

Patch Set 4 : Put filter return back #

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

Messages

Total messages: 7
Jon Sonesen
Aug. 25, 2018, 4:49 a.m. (2018-08-25 04:49:29 UTC) #1
Jon Sonesen
Wasn't sure whether we should still check for the old syntax and refuse the filter ...
Aug. 25, 2018, 5:01 a.m. (2018-08-25 05:01:19 UTC) #2
Manish Jethani
I think we could use the title of issue #6870 as the commit message, it's ...
Aug. 25, 2018, 7:31 a.m. (2018-08-25 07:31:10 UTC) #3
Jon Sonesen
Comments addressed, thanks! https://codereview.adblockplus.org/29863644/diff/29864555/lib/filterClasses.js File lib/filterClasses.js (right): https://codereview.adblockplus.org/29863644/diff/29864555/lib/filterClasses.js#newcode125 lib/filterClasses.js:125: if (/\[-abp-properties=(["'])([^"']+)\1\]/i.test(text)) On 2018/08/25 07:31:10, Manish ...
Aug. 27, 2018, 9:32 p.m. (2018-08-27 21:32:22 UTC) #4
Manish Jethani
https://codereview.adblockplus.org/29863644/diff/29866595/lib/filterClasses.js File lib/filterClasses.js (left): https://codereview.adblockplus.org/29863644/diff/29866595/lib/filterClasses.js#oldcode123 lib/filterClasses.js:123: if (filter) I'm not sure why you removed this ...
Aug. 27, 2018, 9:42 p.m. (2018-08-27 21:42:47 UTC) #5
Jon Sonesen
https://codereview.adblockplus.org/29863644/diff/29866595/lib/filterClasses.js File lib/filterClasses.js (left): https://codereview.adblockplus.org/29863644/diff/29866595/lib/filterClasses.js#oldcode123 lib/filterClasses.js:123: if (filter) On 2018/08/27 21:42:46, Manish Jethani wrote: > ...
Aug. 27, 2018, 9:49 p.m. (2018-08-27 21:49:01 UTC) #6
Manish Jethani
Aug. 27, 2018, 9:56 p.m. (2018-08-27 21:56:00 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld