Bug 1428234 Part 2: Force extensions database rebuild draft
authorAndrew Swan <aswan@mozilla.com>
Tue, 23 Jan 2018 21:11:38 -0800
changeset 747398 5e0b49d3b1c078e51c126c3f0b881c67378844b9
parent 747397 8a1228d0e0cb74c7490fecebd32017ac676e1f93
push id96900
push useraswan@mozilla.com
push dateFri, 26 Jan 2018 00:29:54 +0000
bugs1428234
milestone59.0a1
Bug 1428234 Part 2: Force extensions database rebuild Prior to the first patch for this bug, users with non-ascii characters in the path to their profile directory got bad data in extensions.json. With that bug fixed, now force a rebuild to rescue those users. MozReview-Commit-ID: F3l87A67Ojc
toolkit/mozapps/extensions/internal/XPIProvider.jsm
--- a/toolkit/mozapps/extensions/internal/XPIProvider.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIProvider.jsm
@@ -150,17 +150,17 @@ const STARTUP_MTIME_SCOPES = [KEY_APP_GL
 
 const NOTIFICATION_FLUSH_PERMISSIONS  = "flush-pending-permissions";
 const XPI_PERMISSION                  = "install";
 
 const TOOLKIT_ID                      = "toolkit@mozilla.org";
 
 const XPI_SIGNATURE_CHECK_PERIOD      = 24 * 60 * 60;
 
-XPCOMUtils.defineConstant(this, "DB_SCHEMA", 23);
+XPCOMUtils.defineConstant(this, "DB_SCHEMA", 24);
 
 XPCOMUtils.defineLazyPreferenceGetter(this, "ALLOW_NON_MPC", PREF_ALLOW_NON_MPC);
 
 const NOTIFICATION_TOOLBOX_CONNECTION_CHANGE      = "toolbox-connection-change";
 
 // Properties that exist in the install manifest
 const PROP_LOCALE_SINGLE = ["name", "description", "creator", "homepageURL"];
 const PROP_LOCALE_MULTI  = ["developers", "translators", "contributors"];