rem: if (promptService.Confirm(window,confirmTitle,confirmMsg)) 
add: if (promptService.confirm(window,confirmTitle,confirmMsg)) 
context: function onCancel() {	var firstInvalidAccount = getFirstInvalidAccount();	// if the user cancels the the wizard when it pops up because of 	// an invalid account (example, a webmail account that activation started)	// we just force create it by setting some values and calling the FinishAccount()	// see bug #47521 for the full discussion	if (firstInvalidAccount) {    	var pageData = GetPageData();		// set the fullName if it doesn't exist		if (!pageData.identity.fullName || !pageData.identity.fullName.value) {    		setPageData(pageData, "identity", "fullName", "");		}		// set the email if it doesn't exist		if (!pageData.identity.email || !pageData.identity.email.value) {    		setPageData(pageData, "identity", "email", "user@domain.invalid");		}			// call FinishAccount() and not onFinish(), since the "finish"		// button may be disabled		FinishAccount();	}	else {		// since this is not an invalid account		// really cancel if the user hits the "cancel" button    if (!(accountCount > 0)) {        var confirmTitle = gPrefsBundle.getString("accountWizard");        var confirmMsg = gPrefsBundle.getString("cancelWizard");        if (promptService.Confirm(window,confirmTitle,confirmMsg))          window.close();        else           return;    }    else 	    window.close();    if(top.okCallback)    {      var state = false;      //		dump("cancel callback");      top.okCallback(state);    }	}}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/bfe4893c0ce5a1433f30a24140ce959e59b65d59/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js