rem: prefs.savePrefFile(null); 
add: prefs.SavePrefFile(); 
context: function FinishAccount() {    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);    if (!serverIsNntp(pageData))        EnableCheckMailAtStartUpIfNeeded(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(null);    } catch (ex) {        dump("Error saving prefs!\n");		dump("ex = " + ex + "\n");    }    window.close();    if(top.okCallback)    {        var state = true;        //		dump("finish callback");        top.okCallback(state);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cbc8cea88c9513724d671caeef055be8287d7300/AccountWizard.js/clean/mailnews/base/prefs/resources/content/AccountWizard.js