rem: dump(parent.wizardManager.WSM);  var accountData= gCurrentAccountData;  if (!accountData) accountData = new Object;  PageDataToAccountData(pageData, accountData);  FixupAccountDataForIsp(accountData);   if (!gCurrentAccount) gCurrentAccount = createAccount(accountData);   finishAccount(gCurrentAccount, accountData);  verifyLocalFoldersAccount(gCurrentAccount);   try { var prefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPref); prefs.SavePrefFile(); } catch (ex) { dump("Error saving prefs!\n"); dump("ex = " + ex + "\n"); } window.close(); 
add: FinishAccount(); 
context: function onFinish() {    if( !wizardManager.wizardMap[wizardManager.currentPageTag].finish )        return;    var pageData = GetPageData();    dump(parent.wizardManager.WSM);    var accountData= gCurrentAccountData;        if (!accountData)        accountData = new Object;        PageDataToAccountData(pageData, accountData);    FixupAccountDataForIsp(accountData);        // we might be simply finishing another account    if (!gCurrentAccount)        gCurrentAccount = createAccount(accountData);    // transfer all attributes from the accountdata    finishAccount(gCurrentAccount, accountData);        verifyLocalFoldersAccount(gCurrentAccount);    // hack hack - save the prefs file NOW in case we crash    try {        var prefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPref);        prefs.SavePrefFile();    } catch (ex) {        dump("Error saving prefs!\n");		dump("ex = " + ex + "\n");    }    window.close();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a00b42b2d7f7225771b1d8c73f406f5bb3d37952/AccountWizard.js/clean/mailnews/base/prefs/resources/content/AccountWizard.js