Why not use webidl to expose the apis you want in workers? On Jan 3, 2016 8:08 PM, "罗勇刚(Yonggang Luo)" <luoyongg...@gmail.com> wrote:
> > > On Mon, Jan 4, 2016 at 6:38 AM, Bobby Holley <bobbyhol...@gmail.com> > wrote: > >> 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. >> >> Well, I was already have a modified version of mozilla-central, if the > upstream is not possible, then I just need to maintain the fork and can not > upstream the code. > >> 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 >> > > > > -- > 此致 > 礼 > 罗勇刚 > Yours > sincerely, > Yonggang Luo > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform