On Sun, Nov 08, 2015 at 12:56:48PM -0800, ales.rozman...@gmail.com wrote:
On Sun, Nov 8, 2015 at 10:19 AM, <ales.rozman...@gmail.com> wrote:
I'm using js-ctypes to load and use binary (dll), so it's not a xpcom component. As i understand that is still allowed. Well it works on FF42 anyway.

On Sunday, November 8, 2015 at 8:31:57 PM UTC+1, Dave Townsend wrote:
Then I'm not sure why you need the gecko sdk to build it.

Because we use gecko internals in the component. A bunch of nsI* classes.

You definitely should not be doing that. Preventing add-ons from accessing Gecko internals was the main reason we removed support for binary components in the first place.

n fact, it would be best for you to avoid using ctypes at all, if you can possibly can. If you absolutely can't avoid it (i.e., you need it for some kind of IPC, or hardware access), please don't use it for anything that requires running in the same address space as Firefox. Even if that remains possible for the foreseeable future (hopefully it won't), I can more or less guarantee you it won't be accepted if you submit your add-on for signing.

--
Kris Maglione
Firefox Add-ons Engineer
Mozilla Corporation

If there was anything that depressed him more than his own cynicism,
it was that quite often it still wasn’t as cynical as real life.
        --Terry Pratchett

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to