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

Issue 29349187: Issue 4167 - getSelectorsForDomain criteria + keys (Closed)

Created:
Aug. 8, 2016, 3:24 p.m. by kzar
Modified:
Sept. 27, 2016, 3:28 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Issue 4167 - getSelectorsForDomain criteria + keys

Patch Set 1 #

Total comments: 10

Patch Set 2 : Only store one filter key per unconditional selector #

Patch Set 3 : Remove unrelated changes #

Total comments: 10

Patch Set 4 : Improved tests, fixed bugs spotted in the process #

Total comments: 1

Patch Set 5 : Further improve tests #

Total comments: 12

Patch Set 6 : Addressed feedback #

Total comments: 9

Patch Set 7 : Addressed further feedback #

Total comments: 10

Patch Set 8 : Improved comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -153 lines) Patch
M lib/elemHide.js View 1 2 3 4 5 6 7 10 chunks +152 lines, -80 lines 0 comments Download
M test/elemHide.js View 1 2 3 4 5 6 1 chunk +163 lines, -73 lines 0 comments Download

Messages

Total messages: 14
kzar
Patch Set 1 Since the changes for #4167 have been sat gathering dust for some ...
Aug. 8, 2016, 3:33 p.m. (2016-08-08 15:33:35 UTC) #1
Wladimir Palant
https://codereview.adblockplus.org/29349187/diff/29349188/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29349187/diff/29349188/lib/elemHide.js#newcode45 lib/elemHide.js:45: var usingGetSelectorsForDomain = !("nsIStyleSheetService" in Ci); This flag needs ...
Sept. 19, 2016, 8:54 a.m. (2016-09-19 08:54:00 UTC) #2
kzar
Patch Set 2 : Only store one filter key per unconditional selector https://codereview.adblockplus.org/29349187/diff/29349188/lib/elemHide.js File lib/elemHide.js ...
Sept. 19, 2016, 4:54 p.m. (2016-09-19 16:54:31 UTC) #3
kzar
Patch Set 3 : Remove unrelated changes
Sept. 20, 2016, 7:59 a.m. (2016-09-20 07:59:46 UTC) #4
Wladimir Palant
https://codereview.adblockplus.org/29349187/diff/29353425/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29349187/diff/29353425/lib/elemHide.js#newcode215 lib/elemHide.js:215: filterKeys.splice(index, 1); We need to null out unconditionalFilterKeys here ...
Sept. 20, 2016, 10:36 a.m. (2016-09-20 10:36:08 UTC) #5
kzar
Patch Set 4 : Improved tests, fixed bugs spotted in the process https://codereview.adblockplus.org/29349187/diff/29353425/lib/elemHide.js File lib/elemHide.js ...
Sept. 20, 2016, 2:23 p.m. (2016-09-20 14:23:50 UTC) #6
kzar
Patch Set 5 : Further improve tests
Sept. 20, 2016, 2:43 p.m. (2016-09-20 14:43:42 UTC) #7
Wladimir Palant
I haven't looked into the unit tests again, will do that tomorrow. https://codereview.adblockplus.org/29349187/diff/29354334/lib/elemHide.js File lib/elemHide.js ...
Sept. 20, 2016, 4:31 p.m. (2016-09-20 16:31:15 UTC) #8
kzar
Patch Set 6 : Addressed feedback https://codereview.adblockplus.org/29349187/diff/29354334/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29349187/diff/29354334/lib/elemHide.js#newcode218 lib/elemHide.js:218: filterKeys.splice(index, 1); On ...
Sept. 20, 2016, 6:37 p.m. (2016-09-20 18:37:36 UTC) #9
Wladimir Palant
https://codereview.adblockplus.org/29349187/diff/29354337/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29349187/diff/29354337/lib/elemHide.js#newcode351 lib/elemHide.js:351: * value of ALL_MATCHING, NO_UNCONDITIONAL or SPECIFIC_ONLY if provided. ...
Sept. 26, 2016, 2:56 p.m. (2016-09-26 14:56:55 UTC) #10
kzar
Patch Set 7 : Addressed further feedback https://codereview.adblockplus.org/29349187/diff/29354337/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29349187/diff/29354337/lib/elemHide.js#newcode351 lib/elemHide.js:351: * value ...
Sept. 27, 2016, 12:40 p.m. (2016-09-27 12:40:23 UTC) #11
Wladimir Palant
A bunch of documentation nits but otherwise we are finally done. https://codereview.adblockplus.org/29349187/diff/29355121/lib/elemHide.js File lib/elemHide.js (right): ...
Sept. 27, 2016, 1:08 p.m. (2016-09-27 13:08:38 UTC) #12
kzar
Patch Set 8 : Improved comments https://codereview.adblockplus.org/29349187/diff/29355121/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29349187/diff/29355121/lib/elemHide.js#newcode331 lib/elemHide.js:331: * Constant used ...
Sept. 27, 2016, 1:53 p.m. (2016-09-27 13:53:07 UTC) #13
Wladimir Palant
Sept. 27, 2016, 2:26 p.m. (2016-09-27 14:26:30 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld