Re: Terminating xulrunner?

2014-01-12 Thread Simon Kornblith
As a XULRunner app developer, as long as firefox -app application.ini continues to work I think I could learn to live with this. On Sunday, January 12, 2014 7:34:54 PM UTC-5, Mike Hommey wrote: > Hi, > > > > Let's face it: xulrunner is hardly maintained, we barely build and test > > it on aut

Passing output of DOMParser to sandbox

2013-04-17 Thread Simon Kornblith
I want to be able to parse XML and expose the resulting document to a sandboxed script. I do this by first by determining the principal corresponding to a given URI: var secMan = Services.scriptSecurityManager; var uri = Services.io.newURI("http://www.example.com/";, "UTF-8", null); var principa

Re: setTimeout without a DOM window using Timer.jsm

2013-03-02 Thread Simon Kornblith
Now might be a good time to try to bring up https://bugzilla.mozilla.org/show_bug.cgi?id=776798 again. Anything called from an nsITimerCallback from a JSM runs without the method JIT unless you explicitly set Components.utils.methodjit in the callback or use window.setTimeout on the hidden DOM win

Re: Cycle collection for workers

2013-02-13 Thread Simon Kornblith
On Feb 13, 5:25 pm, Benjamin Smedberg wrote: > On 2/13/2013 4:28 PM, Kyle Huey wrote: > > > > > > > > > On Wed, Feb 13, 2013 at 9:20 PM, Benjamin Smedberg > > wrote: > > >> On 2/13/2013 1:39 PM, Kyle Huey wrote: > > >>> On Wed, Feb 13, 2013 at 6:35 PM, Brian Smith wrote: > > >>>   At what point

Re: Xulrunner 16 to 17? (Erro compiling)

2012-12-03 Thread Simon Kornblith
g something wrong from the beggining > > > (like use the EXE), but all tuto's on internet are not updated... > > > > Is there some tutorial that shows the correct way to create a extension, > > > updated to version 17? > > > > Thanks a lot! > > &

Re: Xulrunner 16 to 17? (Erro compiling)

2012-11-28 Thread Simon Kornblith
Did you rebuild your automatically generated C++ headers using the version of pyxpidl shipped with XULRunner 17? Details at https://developer.mozilla.org/en-US/docs/XPIDL/pyxpidl On Nov 28, 1:48 pm, Felipe Junges wrote: > Hi! First, sorry about my poor english =P > I'm brazilian... so... I'll giv

Re: XULRunner on OS X, Why is not supported?

2012-11-12 Thread Simon Kornblith
On Nov 8, 3:46 pm, richardson.balca...@gmail.com wrote: > I was just reading the effort of installing "open web apps" locally, I'm > assuming the strategy shift that I'm talking about is that Mozilla is betting > on Firefox as their application framework, that would make sense not to > support X

Re: quick! use lisp! before it's too late!

2012-08-29 Thread Simon Kornblith
On Aug 29, 2:17 am, Pedro Bessa wrote: > Design patterns solve a problem, but the problem shouldn't have existed in > the first place. Prototypal OO doesn't have the problems that traditional > OO has. Lua is fast, prototypal, has C interop and was used to create World > of Warcraft, the most fina

Re: Object prototypes and the content/chrome barrier

2012-08-07 Thread Simon Kornblith
Have you tried: foo.__exposedProps__ = {"prototype":"r"}; (If this is indeed the issue, you should probably set __exposedProps__ for the prototype as well. Newer Firefox versions warn about missing __exposedProps__ on objects, although I think it's only required for functions ATM.) Simon On Aug