As XPConnect module owner, I'd like to get it in record that we will almost certainly not take this or any support code for it (i.e. code in js-ctypes) in mozilla-central.
On Sun, Jan 3, 2016 at 11:46 AM, Joshua Cranmer 🐧 <pidgeo...@gmail.com> wrote: > On 1/3/2016 10:24 AM, 罗勇刚(Yonggang Luo) wrote: > >> So that we could be able to access xpcom in worker. >> And we could be able to implement thunderbird new msg protocol in pure >> javascript >> > > I will point out that Thunderbird developers are already looking into > replacing the xpcom use of message protocols, so if that is the primary > goal, then you are wasting your time, I am afraid. > > I will also point out that both JavaScript and C++ have moved on from the > time xpconnect was developed to the point that use of xpconnect requires > designing APIs that are uncomfortable to use from C++ or JavaScript (or > even both!), so it is a much better investment of time to move APIs to > newer paradigms than it is to try to develop a system that almost no one > really understands. > > -- > Joshua Cranmer > Thunderbird and DXR developer > Source code archæologist > > > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform