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

Unified Diff: lib/prefs.js

Issue 29766575: Issue 4580 - Do not use Promise based storage API (Closed)
Patch Set: Created April 30, 2018, 9:12 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/prefs.js
===================================================================
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -336,7 +336,7 @@
let prefs = Object.keys(defaults);
prefs.forEach(addPreference);
- let localLoaded = browser.storage.local.get(prefs.map(prefToKey)).then(
+ let localLoaded = browser.storage.local.get(prefs.map(prefToKey),
items =>
{
for (let key in items)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld