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

Issue 5225119261655040: Issue 1282 - Don't generate filters conflicting with existing exception rules (Closed)

Created:
Dec. 13, 2014, 2:11 p.m. by Sebastian Noack
Modified:
March 3, 2015, 8:11 p.m.
Reviewers:
kzar, Wladimir Palant
Visibility:
Public.

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Renamed addElemHideFilter() and simplified addStyleAttributeFilter() #

Patch Set 3 : Rebased #

Patch Set 4 : Rebased #

Patch Set 5 : Rebased #

Total comments: 15

Patch Set 6 : Rebased and addressed comments #

Patch Set 7 : Addressed comment #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -103 lines) Patch
M background.js View 1 2 3 4 5 6 1 chunk +12 lines, -4 lines 0 comments Download
M include.postload.js View 1 2 3 4 5 6 6 chunks +79 lines, -57 lines 0 comments Download
M include.preload.js View 1 chunk +4 lines, -1 line 0 comments Download
M lib/filterComposer.js View 1 2 3 4 5 6 2 chunks +64 lines, -41 lines 3 comments Download

Messages

Total messages: 17
Sebastian Noack
Dec. 13, 2014, 2:19 p.m. (2014-12-13 14:19:19 UTC) #1
Sebastian Noack
http://codereview.adblockplus.org/5225119261655040/diff/5629499534213120/include.postload.js File include.postload.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5629499534213120/include.postload.js#newcode552 include.postload.js:552: if (!whitelisted[url] && /^https?:/i.test(url)) The code below this line ...
Dec. 13, 2014, 2:32 p.m. (2014-12-13 14:32:37 UTC) #2
Sebastian Noack
http://codereview.adblockplus.org/5225119261655040/diff/5724160613416960/include.postload.js File include.postload.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5724160613416960/include.postload.js#newcode548 include.postload.js:548: if (!whitelisted[url] && /^https?:/i.test(url)) The code below this line ...
Dec. 13, 2014, 6:29 p.m. (2014-12-13 18:29:00 UTC) #3
kzar
I guess your comment about indentation changes no longer apply? I couldn't see the changes ...
Dec. 15, 2014, 3:45 p.m. (2014-12-15 15:45:40 UTC) #4
Sebastian Noack
On 2014/12/15 15:45:40, kzar wrote: > I guess your comment about indentation changes no longer ...
Dec. 15, 2014, 3:58 p.m. (2014-12-15 15:58:42 UTC) #5
Sebastian Noack
I've uploaded a new patch set based on #1853. Having the filter generation in the ...
Jan. 22, 2015, 3:40 p.m. (2015-01-22 15:40:28 UTC) #6
kzar
A little hard to review since the rebase but that's more a fault of rietveld. ...
Jan. 26, 2015, 5:13 p.m. (2015-01-26 17:13:15 UTC) #7
kzar
http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/include.postload.js File include.postload.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/include.postload.js#newcode465 include.postload.js:465: if (!clickHide_activated || currentElement != e.target) Wouldn't e.target not ...
March 2, 2015, 6:30 p.m. (2015-03-02 18:30:08 UTC) #8
Sebastian Noack
http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/include.postload.js File include.postload.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/include.postload.js#newcode465 include.postload.js:465: if (!clickHide_activated || currentElement != e.target) On 2015/03/02 18:30:08, ...
March 2, 2015, 6:40 p.m. (2015-03-02 18:40:48 UTC) #9
kzar
LGTM http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/include.postload.js File include.postload.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/include.postload.js#newcode465 include.postload.js:465: if (!clickHide_activated || currentElement != e.target) On 2015/03/02 ...
March 2, 2015, 6:42 p.m. (2015-03-02 18:42:28 UTC) #10
Wladimir Palant
http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js File background.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js#newcode559 background.js:559: msg.baseURL, sender.page, sender.frame Ten positional parameters in a function ...
March 2, 2015, 8:14 p.m. (2015-03-02 20:14:19 UTC) #11
Sebastian Noack
http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js File background.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js#newcode559 background.js:559: msg.baseURL, sender.page, sender.frame On 2015/03/02 20:14:19, Wladimir Palant wrote: ...
March 3, 2015, 2:28 p.m. (2015-03-03 14:28:59 UTC) #12
Wladimir Palant
http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js File background.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js#newcode559 background.js:559: msg.baseURL, sender.page, sender.frame On 2015/03/03 14:29:00, Sebastian Noack wrote: ...
March 3, 2015, 2:40 p.m. (2015-03-03 14:40:31 UTC) #13
Sebastian Noack
http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js File background.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5669283816275968/background.js#newcode559 background.js:559: msg.baseURL, sender.page, sender.frame On 2015/03/03 14:40:31, Wladimir Palant wrote: ...
March 3, 2015, 2:59 p.m. (2015-03-03 14:59:27 UTC) #14
Wladimir Palant
LGTM http://codereview.adblockplus.org/5225119261655040/diff/5647308616105984/lib/filterComposer.js File lib/filterComposer.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5647308616105984/lib/filterComposer.js#newcode73 lib/filterComposer.js:73: * @param {Frame} details.frame The frame containing the ...
March 3, 2015, 7:17 p.m. (2015-03-03 19:17:01 UTC) #15
Sebastian Noack
http://codereview.adblockplus.org/5225119261655040/diff/5647308616105984/lib/filterComposer.js File lib/filterComposer.js (right): http://codereview.adblockplus.org/5225119261655040/diff/5647308616105984/lib/filterComposer.js#newcode73 lib/filterComposer.js:73: * @param {Frame} details.frame The frame containing the element ...
March 3, 2015, 7:18 p.m. (2015-03-03 19:18:53 UTC) #16
Wladimir Palant
March 3, 2015, 8:11 p.m. (2015-03-03 20:11:47 UTC) #17
http://codereview.adblockplus.org/5225119261655040/diff/5647308616105984/lib/...
File lib/filterComposer.js (right):

http://codereview.adblockplus.org/5225119261655040/diff/5647308616105984/lib/...
lib/filterComposer.js:73: * @param {Frame}    details.frame    The frame
containing the element
On 2015/03/03 19:18:54, Sebastian Noack wrote:
> Why not? This is official JSDoc syntax:
> http://usejsdoc.org/tags-param.html#parameters-with-properties

Yes, seems to be supported by our version as well:
https://code.google.com/p/jsdoc-toolkit/wiki/TagParam

Powered by Google App Engine
This is Rietveld