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

Unified Diff: lib/uninstall.js

Issue 29760565: Issue 6599 - Detect data corruption of storage.local (Closed)
Patch Set: Added comments, show uninstall page also when data corruption occurred Created April 24, 2018, 5:51 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 | « lib/subscriptionInit.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/uninstall.js
===================================================================
--- a/lib/uninstall.js
+++ b/lib/uninstall.js
@@ -57,6 +57,6 @@
// URL and we need to re-generate it each time the notification data changes.
if ("setUninstallURL" in browser.runtime)
{
- Prefs.untilLoaded.then(setUninstallURL);
+ Prefs.untilLoaded.then(setUninstallURL, setUninstallURL);
Prefs.on("notificationdata", setUninstallURL);
}
« no previous file with comments | « lib/subscriptionInit.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld