Re: What's the difference do_CreateInstance do_GetService

2014-11-20 Thread Boris Zbarsky
On 11/21/14, 1:17 AM, Yonggang Luo wrote: I am looking for docs about this do_CreateInstance returns a new object every time. do_GetService creates one object and caches it, then keeps returning the cached object. In practice, for any given class you'd only use one or the other, depending

What's the difference do_CreateInstance do_GetService

2014-11-20 Thread Yonggang Luo
I am looking for docs about this ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform