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

Issue 29378674: Issue 4962 - Fix the tests.- Fix syntax in chrome/content/elemHideEmulation.js to use ES5Regress… (Closed)

Created:
March 7, 2017, 6:33 p.m. by hub
Modified:
March 16, 2017, 5:11 p.m.
Reviewers:
Wladimir Palant
CC:
Felix Dahlke
Base URL:
https://hg.adblockplus.org/adblockpluscore
Visibility:
Public.

Description

Issue 4962 - Fix the tests. - Fix syntax in chrome/content/elemHideEmulation.js to use ES5 Regression from 2fc6eeda3478 - Call ElemHideEmulation.apply() since load() is gone Regression from c7ae7532578a

Patch Set 1 #

Patch Set 2 : formatting fixes #

Total comments: 6

Patch Set 3 : changes following feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M chrome/content/elemHideEmulation.js View 1 2 1 chunk +9 lines, -6 lines 0 comments Download
M test/browser/elemHideEmulation.js View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 9
hub
March 7, 2017, 6:33 p.m. (2017-03-07 18:33:54 UTC) #1
hub
March 7, 2017, 6:35 p.m. (2017-03-07 18:35:40 UTC) #2
Wladimir Palant
https://codereview.adblockplus.org/29378674/diff/29378686/chrome/content/elemHideEmulation.js File chrome/content/elemHideEmulation.js (right): https://codereview.adblockplus.org/29378674/diff/29378686/chrome/content/elemHideEmulation.js#newcode97 chrome/content/elemHideEmulation.js:97: this.patterns.forEach(function(pattern) Last I checked, calling forEach caused suboptimal performance. ...
March 8, 2017, 10:31 a.m. (2017-03-08 10:31:50 UTC) #3
hub
will update the patch https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js File test/browser/elemHideEmulation.js (right): https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js#newcode133 test/browser/elemHideEmulation.js:133: callback(); On 2017/03/08 10:31:50, Wladimir ...
March 8, 2017, 1:34 p.m. (2017-03-08 13:34:21 UTC) #4
hub
patch updated
March 8, 2017, 1:36 p.m. (2017-03-08 13:36:55 UTC) #5
Felix Dahlke
https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js File test/browser/elemHideEmulation.js (right): https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js#newcode133 test/browser/elemHideEmulation.js:133: callback(); On 2017/03/08 13:34:21, hub wrote: > On 2017/03/08 ...
March 8, 2017, 8:35 p.m. (2017-03-08 20:35:49 UTC) #6
hub
https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js File test/browser/elemHideEmulation.js (right): https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js#newcode133 test/browser/elemHideEmulation.js:133: callback(); On 2017/03/08 20:35:49, Felix Dahlke wrote: > On ...
March 8, 2017, 8:39 p.m. (2017-03-08 20:39:48 UTC) #7
Felix Dahlke
(Moved myself back to CC.) https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js File test/browser/elemHideEmulation.js (right): https://codereview.adblockplus.org/29378674/diff/29378686/test/browser/elemHideEmulation.js#newcode133 test/browser/elemHideEmulation.js:133: callback(); On 2017/03/08 20:39:48, ...
March 8, 2017, 9:44 p.m. (2017-03-08 21:44:56 UTC) #8
Wladimir Palant
March 9, 2017, 8:52 a.m. (2017-03-09 08:52:11 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld