B2G/gecko/toolkit/components/exthelper/extApplication.js
// extensions and sends you events when things change.
extensions and sends you events when things change.
extensions and sends you events when things change .
function ExtensionObserver() {
  this._eventsDict = {};
  AddonManager.addAddonListener(this);
  AddonManager.addInstallListener(this);
}
function ExtensionObserver ( ) { this . _eventsDict = { } ; AddonManager . addAddonListener ( this ) ; AddonManager . addInstallListener ( this ) ; }
extensions and sends you events when things change.
extensions and sends you events when things change .