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

Issue 29882562: Issue 6956 - Move extension's style sheet generation into core (Closed)

Created:
Sept. 16, 2018, 5:19 p.m. by Manish Jethani
Modified:
Sept. 20, 2018, 5:22 p.m.
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make createStyleSheet top-level #

Patch Set 3 : Avoid temporary array and join #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -2 lines) Patch
M lib/elemHide.js View 1 2 2 chunks +64 lines, -0 lines 14 comments Download
M test/elemHide.js View 1 2 2 chunks +27 lines, -2 lines 0 comments Download

Messages

Total messages: 22
Manish Jethani
Sept. 16, 2018, 5:19 p.m. (2018-09-16 17:19:27 UTC) #1
Manish Jethani
Patch Set 1 All this code, except the documentation and unit tests, is copied from ...
Sept. 16, 2018, 5:23 p.m. (2018-09-16 17:23:13 UTC) #2
Sebastian Noack
https://codereview.adblockplus.org/29882562/diff/29882563/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29882563/lib/elemHide.js#newcode92 lib/elemHide.js:92: yield selectors.slice(i, i + selectorGroupSize); Apparently this code is ...
Sept. 17, 2018, 6:59 p.m. (2018-09-17 18:59:58 UTC) #3
Manish Jethani
On 2018/09/17 18:59:58, Sebastian Noack wrote: > https://codereview.adblockplus.org/29882562/diff/29882563/lib/elemHide.js > File lib/elemHide.js (right): > > https://codereview.adblockplus.org/29882562/diff/29882563/lib/elemHide.js#newcode92 ...
Sept. 18, 2018, 2:51 p.m. (2018-09-18 14:51:53 UTC) #4
Manish Jethani
Patch Set 2: Make createStyleSheet top-level Patch Set 3: Avoid temporary array and join It ...
Sept. 18, 2018, 3:12 p.m. (2018-09-18 15:12:35 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) Since splitSelectors() is only ...
Sept. 18, 2018, 3:33 p.m. (2018-09-18 15:33:24 UTC) #6
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 15:33:24, Sebastian ...
Sept. 18, 2018, 3:50 p.m. (2018-09-18 15:50:02 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 15:50:02, Manish ...
Sept. 18, 2018, 4:41 p.m. (2018-09-18 16:41:45 UTC) #8
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 16:41:45, Sebastian ...
Sept. 18, 2018, 5:24 p.m. (2018-09-18 17:24:08 UTC) #9
Sebastian Noack
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 17:24:07, Manish ...
Sept. 18, 2018, 5:40 p.m. (2018-09-18 17:40:54 UTC) #10
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 17:40:54, Sebastian ...
Sept. 18, 2018, 5:47 p.m. (2018-09-18 17:47:47 UTC) #11
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 17:47:46, Manish ...
Sept. 18, 2018, 7:51 p.m. (2018-09-18 19:51:57 UTC) #12
Sebastian Noack
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 17:47:46, Manish ...
Sept. 18, 2018, 9:21 p.m. (2018-09-18 21:21:04 UTC) #13
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/18 21:21:03, Sebastian ...
Sept. 19, 2018, 9:39 a.m. (2018-09-19 09:39:01 UTC) #14
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) Since I was modifying ...
Sept. 19, 2018, 10:18 a.m. (2018-09-19 10:18:34 UTC) #15
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/19 09:39:00, Manish ...
Sept. 19, 2018, 10:29 a.m. (2018-09-19 10:29:08 UTC) #16
Sebastian Noack
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/19 10:29:08, Manish ...
Sept. 19, 2018, 11:05 a.m. (2018-09-19 11:05:53 UTC) #17
Manish Jethani
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) On 2018/09/19 11:05:53, Sebastian ...
Sept. 19, 2018, 1:14 p.m. (2018-09-19 13:14:41 UTC) #18
Jon Sonesen
https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js File lib/elemHide.js (right): https://codereview.adblockplus.org/29882562/diff/29884568/lib/elemHide.js#newcode288 lib/elemHide.js:288: for (let selectorGroup of splitSelectors(selectors)) FWIW I would say ...
Sept. 19, 2018, 4:36 p.m. (2018-09-19 16:36:27 UTC) #19
Manish Jethani
Alright, so the issue here was about literally copying and pasting code from the extension ...
Sept. 20, 2018, 12:30 p.m. (2018-09-20 12:30:19 UTC) #20
Sebastian Noack
LGTM
Sept. 20, 2018, 4:11 p.m. (2018-09-20 16:11:38 UTC) #21
Manish Jethani
Sept. 20, 2018, 5:22 p.m. (2018-09-20 17:22:13 UTC) #22
On 2018/09/20 16:11:38, Sebastian Noack wrote:
> LGTM

Thanks!

Powered by Google App Engine
This is Rietveld