rem: var prefs = Components.classes["component: 
add: var prefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPref); 
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["component://netscape/preferences"].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/0257791053c2b38e1dfaf2ee11afae973e82e394/AccountWizard.js/clean/mailnews/base/prefs/resources/content/AccountWizard.js