I was writing a dll to be called by js-ctypes, but I need the JsContext of the caller JS environemt

2015-12-27 Thread Yonggang Luo
And after investigation, I found it's seems not possible to do it, is there any way to do that? Or we need to expose a API to do that. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: I was writing a dll to be called by js-ctypes, but I need the JsContext of the caller JS environemt

2015-12-27 Thread Yonggang Luo
New question, what's the differences between GetCurrentJSContext & GetSafeJSContext in nsIXPConnect On Mon, Dec 28, 2015 at 1:16 AM, Yonggang Luo wrote: > And after investigation, I found it's seems not possible to do it, is > there any way to do that? Or we need to expose a API to do that. > __

I was trying to implement the XPCOM-Layer, here is my code, don't know if that's was the right direction to do that.

2015-12-27 Thread Yonggang Luo
#include #include #include #include #include #include #include #include #include #include #include #include using namespace mozilla; nsCOMPtr iim = do_GetService(NS_INTERFACEINFOMANAGER_SERVICE_CONTRACTID); nsCOMPtr xpconnect = do_GetService(nsIXPConnect::GetCID()); #define SHELL_EX

Re: about:profiles and the new profile manager

2015-12-27 Thread Mark Finkle
As work on this feature continues, I think we want to block the code and UI from shipping in Firefox for Android. Can you look into ways to stop the toolkit code, strings and UI from getting packaged for Android? On Fri, Dec 18, 2015 at 12:17 PM, Andrea Marchesini wrote: > Hi all, > > This week

Cause Firefox doesn't support for binary extentions anymore? So may use to merge all the xpcom strings into a single implementation?

2015-12-27 Thread Yonggang Luo
There is two much about strings in XPCOM. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform