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

Issue 29884580: Issue 6504 - Remove element hiding emulation code related to style sheets (Closed)

Created:
Sept. 18, 2018, 5:37 p.m. by Manish Jethani
Modified:
Sept. 29, 2018, 1:54 a.m.
Reviewers:
Sebastian Noack, hub
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Description

It turns out this is dead code now. We can remove it. If we ever get around to using style sheets properly, we can add it back.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment in constructor #

Patch Set 3 : Remove first parameter to constructor #

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

Messages

Total messages: 7
Manish Jethani
Sept. 18, 2018, 5:38 p.m. (2018-09-18 17:38:05 UTC) #1
Manish Jethani
Patch Set 1
Sept. 18, 2018, 5:38 p.m. (2018-09-18 17:38:57 UTC) #2
Sebastian Noack
https://codereview.adblockplus.org/29884580/diff/29884581/lib/content/elemHideEmulation.js File lib/content/elemHideEmulation.js (left): https://codereview.adblockplus.org/29884580/diff/29884581/lib/content/elemHideEmulation.js#oldcode608 lib/content/elemHideEmulation.js:608: constructor(addSelectorsFunc, hideElemsFunc) There are further optimizations and simplifications we ...
Sept. 18, 2018, 9:29 p.m. (2018-09-18 21:29:47 UTC) #3
Manish Jethani
https://codereview.adblockplus.org/29884580/diff/29884581/lib/content/elemHideEmulation.js File lib/content/elemHideEmulation.js (left): https://codereview.adblockplus.org/29884580/diff/29884581/lib/content/elemHideEmulation.js#oldcode608 lib/content/elemHideEmulation.js:608: constructor(addSelectorsFunc, hideElemsFunc) On 2018/09/18 21:29:47, Sebastian Noack wrote: > ...
Sept. 19, 2018, 9:43 a.m. (2018-09-19 09:43:32 UTC) #4
Manish Jethani
Patch Set 2: Add comment in constructor By the way, why not use this opportunity ...
Sept. 19, 2018, 1:25 p.m. (2018-09-19 13:25:51 UTC) #5
Manish Jethani
Patch Set 3: Remove first parameter to constructor
Sept. 29, 2018, 1:07 a.m. (2018-09-29 01:07:46 UTC) #6
Sebastian Noack
Sept. 29, 2018, 1:14 a.m. (2018-09-29 01:14:37 UTC) #7
LGTM.

Respectively, https://codereview.adblockplus.org/29894564/ should no longer pass
in that argument, and should be turned into a dependency update.

Powered by Google App Engine
This is Rietveld