Artem Ananiev wrote:
Oops, I've found that I mistakenly replaced the call to
getServiceByContractID with getService when trying to get nsIPref - and
that's was the problem. Now I'm able to get/set preferences including
proxy server, the only question left is: how can I access the
preferences which are set by user when running standalone Firefox?
You can't. They are in the firefox profile directory and are not available.
FWIW, you should be using nsIPrefService/nsIPrefBranch instead of nsIPref;
see the comments in the interface about nsIPref being deprecated.
--BDS
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding