Skip to content
Snippets Groups Projects
Commit 1adb17fc authored by Andrew Swan's avatar Andrew Swan
Browse files

Bug 1511345 Follow-up: Don't blow up on empty addonStartup.json r=zombie a=RyanVM

--HG--
extra : rebase_source : 104c6e59412aba85bc6206e9fd6ffa81df1e5892
parent 74e0a3ba
No related branches found
No related tags found
No related merge requests found
......@@ -1252,8 +1252,8 @@ var XPIStates = {
// When upgrading from a build prior to bug 857456, convert startup
// metadata.
let done = false;
for (let location of Object.values(state)) {
for (let data of Object.values(location.addons)) {
for (let location of Object.values(state || {})) {
for (let data of Object.values(location.addons || {})) {
if (!migrateAddonLoader(data)) {
done = true;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment