rem: switch (event.type) { case "command" : { switch (event.target.id) { case "subscribeButton": this.subscribe(); break; case "chooseApplicationMenuItem":    break; default: this._setAlwaysUseLabel(); } break; } case "click": { if (event.target.id == "chooseApplicationMenuItem") { if (!this._chooseClientApp()) {   this._setSelectedHandler(); 
add: if (event.type == "command") { switch (event.target.id) { case "subscribeButton": this.subscribe(); break; case "chooseApplicationMenuItem": /* Bug 351263: Make sure to not steal focus if the "Choose * Application" item is being selected with the keyboard. We do this * by ignoring command events while the dropdown is closed (user * arrowing through the combobox), but handling them while the * combobox dropdown is open (user pressed enter when an item was * selected). If we don't show the filepicker here, it will be shown * when clicking "Subscribe Now". */ if (this._document.getElementById("handlersMenuList") .getAttribute("open") == "true") { if (!this._chooseClientApp()) {   this._setSelectedHandler(); } 
context:   handleEvent: function(event) {    // see comments in the write method    event = new XPCNativeWrapper(event);    if (event.target.ownerDocument != this._document) {      LOG("FeedWriter.handleEvent: Someone passed the feed writer as a listener to the events of another document!");      return;    }    switch (event.type) {      case "command" : {        switch (event.target.id) {          case "subscribeButton":            this.subscribe();            break;          case "chooseApplicationMenuItem":            // For keyboard-only users, we only show the file picker once the             // subscribe button is pressed. See click event handling for the            // mouse-case.            break;          default:            this._setAlwaysUseLabel();        }        break;      }      case "click": {        if (event.target.id == "chooseApplicationMenuItem") {          if (!this._chooseClientApp()) {            // Select the (per-prefs) selected handler if no application was            // selected            this._setSelectedHandler();          }        }      }    }  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f65c4f98a0f51dc1bb69c7ddd0bdbee7372dc36d/FeedWriter.js/buggy/browser/components/feeds/src/FeedWriter.js