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

Issue 29573044: Issue 5147 - Invalidate wrapper on delete (Closed)

Created:
Oct. 10, 2017, 9:50 p.m. by hub
Modified:
Oct. 11, 2017, 5:15 p.m.
Reviewers:
sergei, Wladimir Palant
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Description

Issue 5147 - Invalidate wrapper on delete

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added tests #

Total comments: 5

Patch Set 3 : tweaked the test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M compiled/bindings/generator.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M test/filterClasses.js View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8
hub
Oct. 10, 2017, 9:50 p.m. (2017-10-10 21:50:15 UTC) #1
hub
You can test it with the following patch. ```` diff --git a/test/filterClasses.js b/test/filterClasses.js --- a/test/filterClasses.js ...
Oct. 10, 2017, 11 p.m. (2017-10-10 23:00:15 UTC) #2
Wladimir Palant
Please add unit tests for this, particularly that calling .delete() twice on the same object ...
Oct. 11, 2017, 7:45 a.m. (2017-10-11 07:45:51 UTC) #3
hub
test added, comments addressed.
Oct. 11, 2017, 12:49 p.m. (2017-10-11 12:49:52 UTC) #4
sergei
https://codereview.adblockplus.org/29573044/diff/29573705/test/filterClasses.js File test/filterClasses.js (right): https://codereview.adblockplus.org/29573044/diff/29573705/test/filterClasses.js#newcode167 test/filterClasses.js:167: test.throws(() => { filter1.delete() == 0; }); IMO it ...
Oct. 11, 2017, 12:52 p.m. (2017-10-11 12:52:56 UTC) #5
Wladimir Palant
https://codereview.adblockplus.org/29573044/diff/29573705/test/filterClasses.js File test/filterClasses.js (right): https://codereview.adblockplus.org/29573044/diff/29573705/test/filterClasses.js#newcode169 test/filterClasses.js:169: test.throws(() => { filter1._pointer == 0xdeadbeef; }); I agree, ...
Oct. 11, 2017, 1:51 p.m. (2017-10-11 13:51:52 UTC) #6
hub
https://codereview.adblockplus.org/29573044/diff/29573705/test/filterClasses.js File test/filterClasses.js (right): https://codereview.adblockplus.org/29573044/diff/29573705/test/filterClasses.js#newcode167 test/filterClasses.js:167: test.throws(() => { filter1.delete() == 0; }); On 2017/10/11 ...
Oct. 11, 2017, 2:47 p.m. (2017-10-11 14:47:01 UTC) #7
Wladimir Palant
Oct. 11, 2017, 4:39 p.m. (2017-10-11 16:39:54 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld