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

Issue 6520005931827200: Issue 2259 - Removed non-standard JavaScript code from Element Hiding Helper (Closed)

Created:
April 1, 2015, 3:16 p.m. by Sebastian Noack
Modified:
April 29, 2015, 2:38 p.m.
Visibility:
Public.

Description

Issue 2259 - Removed non-standard JavaScript code from Element Hiding Helper

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use a Set instead an object #

Patch Set 3 : Turned knownClasses into a Set as well #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -28 lines) Patch
M chrome/content/composer.js View 1 2 2 chunks +7 lines, -11 lines 1 comment Download
M lib/aardvark.js View 4 chunks +4 lines, -4 lines 0 comments Download
M lib/inspectorObserver.js View 1 chunk +1 line, -2 lines 0 comments Download
M lib/main.js View 1 3 chunks +3 lines, -9 lines 0 comments Download
M lib/windowWrapper.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7
Sebastian Noack
April 1, 2015, 3:17 p.m. (2015-04-01 15:17:25 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/6520005931827200/diff/5629499534213120/lib/main.js File lib/main.js (right): http://codereview.adblockplus.org/6520005931827200/diff/5629499534213120/lib/main.js#newcode18 lib/main.js:18: let knownWindowTypes = Object.create(null); Better: Set(["navigator:browser", "mail:3pane", "mail:messageWindow"]) This ...
April 1, 2015, 7:01 p.m. (2015-04-01 19:01:14 UTC) #2
Sebastian Noack
http://codereview.adblockplus.org/6520005931827200/diff/5629499534213120/lib/main.js File lib/main.js (right): http://codereview.adblockplus.org/6520005931827200/diff/5629499534213120/lib/main.js#newcode18 lib/main.js:18: let knownWindowTypes = Object.create(null); On 2015/04/01 19:01:14, Wladimir Palant ...
April 2, 2015, 7:19 a.m. (2015-04-02 07:19:47 UTC) #3
Wladimir Palant
LGTM
April 2, 2015, 8:22 p.m. (2015-04-02 20:22:25 UTC) #4
Sebastian Noack
http://codereview.adblockplus.org/6520005931827200/diff/5657382461898752/chrome/content/composer.js File chrome/content/composer.js (right): http://codereview.adblockplus.org/6520005931827200/diff/5657382461898752/chrome/content/composer.js#newcode251 chrome/content/composer.js:251: let knownClasses = new Set(attr.value.split(/\s+/)); While introducing Sets and ...
April 4, 2015, 3:30 p.m. (2015-04-04 15:30:21 UTC) #5
Sebastian Noack
April 13, 2015, 10:37 a.m. (2015-04-13 10:37:29 UTC) #6
Wladimir Palant
April 28, 2015, 9:40 p.m. (2015-04-28 21:40:53 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld