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

Issue 29621569: Issue 6050 - Use localStorage for blocked_total preference on Gecko (Closed)

Created:
Nov. 27, 2017, 6:24 p.m. by kzar
Modified:
Nov. 28, 2017, 11:52 a.m.
Reviewers:
Wladimir Palant
CC:
Sebastian Noack
Visibility:
Public.

Description

Issue 6050 - Use localStorage for blocked_total preference on Gecko

Patch Set 1 #

Patch Set 2 : Use parseInt instead of JSON.parse #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -24 lines) Patch
M lib/prefs.js View 1 2 chunks +23 lines, -24 lines 0 comments Download

Messages

Total messages: 3
kzar
Patch Set 1 I figure this is good enough for now, what do you guys ...
Nov. 27, 2017, 6:25 p.m. (2017-11-27 18:25:49 UTC) #1
kzar
Patch Set 2 : Use parseInt instead of JSON.parse
Nov. 27, 2017, 6:51 p.m. (2017-11-27 18:51:36 UTC) #2
Wladimir Palant
Nov. 28, 2017, 11:34 a.m. (2017-11-28 11:34:26 UTC) #3
As discussed on IRC, I don't consider this hack worth doing. If
window.localStorage doesn't survive clearing private data, then maybe we should
use IndexedDB for preferences - assuming that it doesn't exhibit the same
behavior.

Powered by Google App Engine
This is Rietveld