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

Issue 5923900886089728: Use FileSystem API to store data in Opera (Closed)

Created:
Nov. 25, 2013, 7:39 a.m. by Wladimir Palant
Modified:
Nov. 28, 2013, 7:03 a.m.
Visibility:
Public.

Description

Our Opera issue turned out to be localStorage size limit. Given that FileSystem API apparently works again in recent Opera versions, it`s best to use FileSystem API and migrate the data. I`ve removed the old migration code while at it, no point keeping it forever.

Patch Set 1 #

Patch Set 2 : Prevent first-run page from appearing #

Total comments: 2

Patch Set 3 : Better approach to prevent first-run page from appearing #

Total comments: 2

Patch Set 4 : Fixed remaining comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M background.js View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 10
Wladimir Palant
Nov. 25, 2013, 7:39 a.m. (2013-11-25 07:39:18 UTC) #1
Thomas Greiner
LGTM
Nov. 25, 2013, 2:17 p.m. (2013-11-25 14:17:23 UTC) #2
Wladimir Palant
Two more issues fixed: 1) First-run page was appearing on update because the data import ...
Nov. 26, 2013, 8:51 a.m. (2013-11-26 08:51:50 UTC) #3
Thomas Greiner
LGTM with nits addressed http://codereview.adblockplus.org/5923900886089728/diff/5930525202055168/lib/filesystem/io.js File lib/filesystem/io.js (right): http://codereview.adblockplus.org/5923900886089728/diff/5930525202055168/lib/filesystem/io.js#newcode77 lib/filesystem/io.js:77: callback(null) nit: semicolon missing http://codereview.adblockplus.org/5923900886089728/diff/5930525202055168/lib/websql/io.js ...
Nov. 26, 2013, 10:23 a.m. (2013-11-26 10:23:32 UTC) #4
Wladimir Palant
Addressed nits: https://hg.adblockplus.org/adblockpluschrome/rev/fce28c7eff66 - default branch https://hg.adblockplus.org/adblockpluschrome/rev/7c03cefed8f1 - 1.6.x branch
Nov. 26, 2013, 10:34 a.m. (2013-11-26 10:34:21 UTC) #5
Wladimir Palant
I had to partially revert the previous change and to introduce a new flag to ...
Nov. 26, 2013, 12:37 p.m. (2013-11-26 12:37:35 UTC) #6
Thomas Greiner
http://codereview.adblockplus.org/5923900886089728/diff/6220332415320064/background.js File background.js (right): http://codereview.adblockplus.org/5923900886089728/diff/6220332415320064/background.js#newcode57 background.js:57: if (!importingOldData) You're only using this variable for this ...
Nov. 26, 2013, 1:40 p.m. (2013-11-26 13:40:12 UTC) #7
Wladimir Palant
http://codereview.adblockplus.org/5923900886089728/diff/6220332415320064/background.js File background.js (right): http://codereview.adblockplus.org/5923900886089728/diff/6220332415320064/background.js#newcode57 background.js:57: if (!importingOldData) On 2013/11/26 13:40:13, Thomas Greiner wrote: > ...
Nov. 27, 2013, 3:46 p.m. (2013-11-27 15:46:21 UTC) #8
Felix Dahlke
LGTM
Nov. 27, 2013, 4:32 p.m. (2013-11-27 16:32:38 UTC) #9
Thomas Greiner
Nov. 27, 2013, 4:49 p.m. (2013-11-27 16:49:39 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld