canmove, Confirmed users
1,570
edits
| Line 91: | Line 91: | ||
This method is called when the XUL runtime has determined that the application has been changed (either in terms of version or platform or location in the filesystem) since the last run with this profile. | This method is called when the XUL runtime has determined that the application has been changed (either in terms of version or platform or location in the filesystem) since the last run with this profile. | ||
The extension manager's principal goal in this method is to identify whether any of the installed add-ons should be enabled or disabled. This may happen because the version number of the application has changed so add-ons may no longer be compatible, or they may now be considered blocklisted. Any add-ons that change state will be marked to be enabled/disabled | The extension manager's principal goal in this method is to identify whether any of the installed add-ons should be enabled or disabled. This may happen because the version number of the application has changed so add-ons may no longer be compatible, or they may now be considered blocklisted. Any add-ons that change state will be marked to be enabled/disabled and then a following call to <code>_finishOperations</code> will complete the changes and a restart will be forced. | ||
This method also has the secondary function of detecting when add-ons are installed in an install location that is no longer known about. This can happen when switching between different distributions of the same application (for example Ubuntu provides additional install locations not present in the regular Mozilla build of Firefox). | This method also has the secondary function of detecting when add-ons are installed in an install location that is no longer known about. This can happen when switching between different distributions of the same application (for example Ubuntu provides additional install locations not present in the regular Mozilla build of Firefox). | ||