rem:  handlerInfo.store();    handlerInfo.handledOnlyByPlugin = false;   typeItem.setAttribute("actionDescription", this._describePreferredAction(handlerInfo)); typeItem.setAttribute("actionIcon", this._getIconURLForPreferredAction(handlerInfo)); 
context:   onSelectAction: function(aActionItem) {    var typeItem = this._list.selectedItem;    var handlerInfo = this._handledTypes[typeItem.type];    if (aActionItem.hasAttribute("alwaysAsk")) {      handlerInfo.alwaysAskBeforeHandling = true;    }    else if (aActionItem.hasAttribute("action")) {      let action = parseInt(aActionItem.getAttribute("action"));      // Set the plugin state if we're enabling or disabling a plugin.      if (action == kActionUsePlugin)        handlerInfo.enablePluginType();      else if (handlerInfo.plugin && !handlerInfo.isDisabledPluginType)        handlerInfo.disablePluginType();      // Set the preferred application handler.      // We leave the existing preferred app in the list when we set      // the preferred action to something other than useHelperApp so that      // legacy datastores that don't have the preferred app in the list      // of possible apps still include the preferred app in the list of apps      // the user can choose to handle the type.      if (action == Ci.nsIHandlerInfo.useHelperApp)        handlerInfo.preferredApplicationHandler = aActionItem.handlerApp;      // Set the "always ask" flag.      handlerInfo.alwaysAskBeforeHandling = false;      // Set the preferred action.      handlerInfo.preferredAction = action;    }    handlerInfo.store();    // Make sure the handler info object is flagged to indicate that there is    // now some user configuration for the type.    handlerInfo.handledOnlyByPlugin = false;    // Update the action label and image to reflect the new preferred action.    typeItem.setAttribute("actionDescription",                          this._describePreferredAction(handlerInfo));    typeItem.setAttribute("actionIcon",                          this._getIconURLForPreferredAction(handlerInfo));  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/b2a50e7c34a6c496978c6e56969773032acf9081/applications.js/clean/browser/components/preferences/applications.js