> > 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.
>

It's quite interesting...
Look, Firefox can use other server's profile for importing, why not to allow 
mozilla/firefox EMBEDDING applications to import
Firefox's own?
All Artem would need is a toolkit based app that will pretend that it's 
firefox. It will create profile for Artem's application and
import there all it finds in Firefox's.
Why not? I see that parts of FireFox sources and I'd do it easily.

-dmitry.


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to