зеркало из https://github.com/mozilla/pjs.git
Bug 717904 - Add-ons Manager is broken after installing an extension with browser restart [r=Unfocused]
This commit is contained in:
Родитель
5b27ce7025
Коммит
3f1b69cd4d
|
@ -826,6 +826,10 @@ function loadManifestFromRDF(aUri, aStream) {
|
|||
|
||||
addon.applyBackgroundUpdates = AddonManager.AUTOUPDATE_DEFAULT;
|
||||
|
||||
// Load the storage service before NSS (nsIRandomGenerator),
|
||||
// to avoid a SQLite initialization error (bug 717904).
|
||||
let storage = Services.storage;
|
||||
|
||||
// Generate random GUID used for Sync.
|
||||
// This was lifted from util.js:makeGUID() from services-sync.
|
||||
let rng = Cc["@mozilla.org/security/random-generator;1"].
|
||||
|
|
Загрузка…
Ссылка в новой задаче