Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread Yonggang Luo
-- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread Ted Mielczarek
No, js-ctypes does not have any support for calling methods on C++ classes. In fact, that functionality was WONTFIXed a while back: https://bugzilla.mozilla.org/show_bug.cgi?id=505907. -Ted ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread Yonggang Luo
OK, I've done it with my own patch, indeed, I just want to calling C APIs with XPCOM pointers. So I implemented the following function to deal with my situation: 512020db461367413e46bfeb3af8b70ed45e01f8 xpcom/components/nsComponentManager.cpp | 14 ++

Re: unowned orange by team

2015-12-23 Thread Ben Kelly
Thanks for everyone's help! I did just want to clarify, though, that I don't think anyone should be changing holiday plans to work these bugs. We can address them as people come back from PTO. Everyone having a good break and holiday is more important. Sorry for any confusion and thanks again.

Re: unowned orange by team

2015-12-23 Thread James Graham
On 23/12/15 01:15, Ben Kelly wrote: Hi all, In an attempt to wrangle some of the orange plaguing the tree I've tried to triage the top unowned bugs by team. ateam/releng: […] 10) https://bugzilla.mozilla.org/show_bug.cgi?id=1231798 This is a web-platform-tests test which is an interesting

Re: unowned orange by team

2015-12-23 Thread J. Ryan Stinnett
On Tue, Dec 22, 2015 at 7:15 PM, Ben Kelly wrote: > > devtools: > 21) https://bugzilla.mozilla.org/show_bug.cgi?id=992275 > 22) https://bugzilla.mozilla.org/show_bug.cgi?id=1210208 > 23) https://bugzilla.mozilla.org/show_bug.cgi?id=1230031 > 29)

Re: Adding jobs to pushes having some issues

2015-12-23 Thread Kartikaya Gupta
For the record it seems like even if adding new jobs via TH fails, the old try-extender tool at http://try-extender.herokuapp.com/ still works (at least for try pushes). On Tue, Dec 22, 2015 at 2:56 PM, Armen Zambrano G. wrote: > Hello team, > Thanks for using the ability of

Re: Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread luoyonggang
// nsIComponentManager exports.getPointerForInterface = (obj, iid) => { return components.manager.getPointerForInterface(obj, iid) } xul.js: 'use strict' const { Cc, Ci } = require('chrome') exports.types = require('./types.js') const { ctypes, EnumType, default_abi, uint32_t }

Re: unowned orange by team

2015-12-23 Thread Johnny Stenback
On Wed, Dec 23, 2015 at 6:58 AM, James Graham wrote: > On 23/12/15 01:15, Ben Kelly wrote: [...] >> 10) https://bugzilla.mozilla.org/show_bug.cgi?id=1231798 > > > This is a web-platform-tests test which is an interesting case. De-facto I > am on point for all problems in

Re: Emulating WebExtensions

2015-12-23 Thread Bill McCloskey
On Wed, Dec 23, 2015 at 4:37 AM, Marcello Stanisci < marcello.stani...@inria.fr> wrote: > Hi list, > > Would it be possible to emulate what the 'backgroud' page does > in the context of a "normal" Firefox extension by using Web workers? > > In detail, WebExtensions dictates that each extension

Re: Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread Cameron Kaiser
On 12/23/15 8:09 AM, 罗勇刚(Yonggang Luo) wrote: >No, js-ctypes does not have any support for calling methods on C++ >classes. In fact, that functionality was WONTFIXed a while back: >https://bugzilla.mozilla.org/show_bug.cgi?id=505907. OK, I've done it with my own patch, indeed, I just want to

Emulating WebExtensions

2015-12-23 Thread Marcello Stanisci
Hi list, Would it be possible to emulate what the 'backgroud' page does in the context of a "normal" Firefox extension by using Web workers? In detail, WebExtensions dictates that each extension has a background thread which runs independently of its foreground counterpart, and that they notify