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

Issue 29408742: Issue 5059 - Simplify I/O API and FilterStorage implementation (Closed)

Created:
April 10, 2017, 2:44 p.m. by Wladimir Palant
Modified:
April 20, 2017, 8:18 a.m.
Reviewers:
Sebastian Noack, kzar
Base URL:
https://hg.adblockplus.org/adblockpluscore
Visibility:
Public.

Description

Issue 5059 - Simplify I/O API and FilterStorage implementation

Patch Set 1 #

Total comments: 5

Patch Set 2 : Replaced inner function by an arrow function #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -415 lines) Patch
M lib/filterStorage.js View 1 8 chunks +142 lines, -223 lines 2 comments Download
M test/filterStorage_readwrite.js View 5 chunks +71 lines, -86 lines 0 comments Download
M test/stub-modules/io.js View 1 chunk +59 lines, -106 lines 2 comments Download

Messages

Total messages: 8
Wladimir Palant
April 10, 2017, 2:45 p.m. (2017-04-10 14:45:01 UTC) #1
Wladimir Palant
At this point, these changes have been validated by unit tests only. I'll test integration ...
April 10, 2017, 2:59 p.m. (2017-04-10 14:59:15 UTC) #2
Wladimir Palant
Patch set 2 fixes an issue that only came up when integrating in Firefox - ...
April 11, 2017, 3:12 p.m. (2017-04-11 15:12:36 UTC) #3
Wladimir Palant
I uploaded https://codereview.adblockplus.org/29409617/ to show how this will be integrated in Firefox. The io.js implementation ...
April 11, 2017, 3:20 p.m. (2017-04-11 15:20:27 UTC) #4
kzar
https://codereview.adblockplus.org/29408742/diff/29409613/lib/filterStorage.js File lib/filterStorage.js (right): https://codereview.adblockplus.org/29408742/diff/29409613/lib/filterStorage.js#newcode461 lib/filterStorage.js:461: return tryBackup(1); So we return a promise here, which ...
April 20, 2017, 6:49 a.m. (2017-04-20 06:49:25 UTC) #5
Wladimir Palant
https://codereview.adblockplus.org/29408742/diff/29409613/lib/filterStorage.js File lib/filterStorage.js (right): https://codereview.adblockplus.org/29408742/diff/29409613/lib/filterStorage.js#newcode461 lib/filterStorage.js:461: return tryBackup(1); On 2017/04/20 06:49:25, kzar wrote: > So ...
April 20, 2017, 7:17 a.m. (2017-04-20 07:17:07 UTC) #6
kzar
LGTM
April 20, 2017, 7:32 a.m. (2017-04-20 07:32:16 UTC) #7
Sebastian Noack
April 20, 2017, 8:08 a.m. (2017-04-20 08:08:08 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld