trick: XULrunner live inside firefox now

31 views
Skip to first unread message

sduclos

unread,
Oct 9, 2012, 5:26:18 PM10/9/12
to xul...@googlegroups.com
Hi,

And the start up is a lot faster!

So my shell script file is now:

$ cat withconsole.sh
#!/bin/bash

#xulrunner application.ini -jsconsole
firefox -app application.ini -jsconsole


I didn't see any down side, like javascript incompatibility.

Firefox does complain about a SyntaxError in xuljet lib loadDeps.js:

Timestamp: 12-10-09 05:20:42 PM
Warning: SyntaxError: test for equality (==) mistyped as assignment (=)?
Source File: chrome://myapp/content/lib/loadDeps.js
Line: 52, Column: 38
Source Code:
    while (part = relPathParts.shift()) {


But that construct seem pretty idiomatic .. sound like a false positive to me.


Sylvain.


Pavel Krivanek

unread,
Oct 9, 2012, 5:39:30 PM10/9/12
to xul...@googlegroups.com
Hi Sylvain,

Thanks for sharing. I'll try it. I'm not sure if the behavior is the
same for latests Firefox versions but when I tried to run XULRunner
applications with Firefox this way, there were some small problems
with profiles and security restrictions.

-- Pavel

sduclos

unread,
Oct 9, 2012, 6:35:25 PM10/9/12
to xul...@googlegroups.com
Hi Pavel,

OK thanks, there is also something to watch for when firefox
a instance is already running. For example the jsconsole log get confuse.
But I don't thinks it's a xuljet problem.


Sylvain.
Reply all
Reply to author
Forward
0 new messages