Alexey 'Spry' Pelykh wrote: > 2a) savePrefFile(nsIFile aFile); to save, needs to be called manually? > 2b) readUserPrefs(nsIFile aFile); to load, also needs to be called
No, you should not need to do anything with the pref files. When the prefservice is created it will do all the correct things. > So, as far as I understand, only a single call to nsProfileDirProvider- >> SetProfileDir(nsLocalAppDataDir); is valid? Second will be ignored? > Or I can set new profile directory and then work with it? You should not try to calls setProfileDir a second time. There is a lot of code in the project which will get confused if you move things out from under it. > Cookies are also stored in my profile directory? Cache also? Yes. --BDS _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
