rem: dump ("feed name = " + feed.name + "\n"); addFeed(feed.url, feed.title, null, folder); 
add: dump ("feed name = " + feedProperties.feedName + "\n"); addFeed(feedProperties.feedLocation, feedProperties.feedName, null, folder); 
context: function doAdd() {    var url = window.prompt("Location:", "");    if (url == null)        return;    const DEFAULT_FEED_TITLE = "feed title";    const DEFAULT_FEED_URL = "feed location";    feed = new Feed(url || DEFAULT_FEED_URL);    feed.download(false, false);    if (!feed.title)        feed.title = DEFAULT_FEED_TITLE;    var server = getIncomingServer();    var folder;    try {        //var folder = server.rootMsgFolder.FindSubFolder(feed.name);        folder = server.rootMsgFolder.getChildNamed(feed.name);    }    catch(e) {        // If we're here, it's probably because the folder doesn't exist yet,        // so create it.        debug("folder for new feed " + feed.title + " doesn't exist; creating");				debug("creating " + feed.name + "as child of " + server.rootMsgFolder + "\n");        server.rootMsgFolder.createSubfolder(feed.name, getMessageWindow());				folder = server.rootMsgFolder.FindSubFolder(feed.name);				var msgdb = folder.getMsgDatabase(null);				var folderInfo = msgdb.dBFolderInfo;				folderInfo.setCharPtrProperty("feedUrl", feed.url);    }    // XXX This should be something like "subscribe to feed".		dump ("feed name = " + feed.name + "\n");    addFeed(feed.url, feed.title, null, folder);    // XXX Maybe we can combine this with the earlier download?    feed.download();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/25e16c629c9074575448e7faa9c33097e6c933df/subscriptions.js/buggy/mail/extensions/newsblog/content/subscriptions.js