Bug 415175 - Updating to an extension where the updated xpi requires a compatibility update fails. r=robstrong.

This commit is contained in:
dtownsend@oxymoronical.com 2008-03-11 16:35:21 -07:00
parent 031fa230eb
commit a64e80cc09

View File

@ -2678,8 +2678,6 @@ ExtensionManager.prototype = {
var isDirty = false;
var forceAutoReg = false;
this._showUpdatesWindow();
// Somehow the component list went away, and for that reason the new one
// generated by this function is going to result in a different compreg.
// We must force a restart.
@ -2701,6 +2699,8 @@ ExtensionManager.prototype = {
if (this._checkForFileChanges())
isDirty = true;
this._showUpdatesWindow();
if (PendingOperations.size != 0)
isDirty = true;