Option '-app' missing from Firefox above version 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Expired
|
Medium
|
|||
firefox (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ firefox --version
Mozilla Firefox 7.0.1
$ apt-cache policy firefox
firefox:
Installed: 7.0.1+build1+
Candidate: 7.0.1+build1+
....
$ xulrunner --version
Mozilla XULRunner 2.0 - 20110402003021
$ uname -r
2.6.38-11-generic
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
$ cat /etc/issue
Ubuntu 11.04 \n \l
-----
There has been an '-app' command line option for Firefox, which should have been introduced in Firefox 3:
http://
... which would have allowed Firefox to run XUL application via `firefox -app /path/to/
However, that switch does not seem to work any longer in newer Firefoxes:
http://
http://
I have performed the following test in Firefox 7 (versions as given above):
* Generate a small XUL application (bash):
###
mkdir xultestapp
mkdir -p xultestapp/
mkdir -p xultestapp/
cat > xultestapp/
[App]
Vendor=XULTest
Name=xultestapp
Version=1.0
BuildID=20111024
<email address hidden>
[Gecko]
MinVersion=1.8
MaxVersion=2.*
EOF
cat > xultestapp/
content xultestapp content/
EOF
cat > xultestapp/
manifest chrome/
EOF
cat > xultestapp/
pref("toolkit.
EOF
cat > xultestapp/
<?xml version="1.0"?>
<?xml-stylesheet href="chrome:
<window id="main" title="xultestapp" width="300" height="300" xmlns="http://
<caption label="Hello World"/>
<separator/>
<button label="More >>" />
<separator/>
<description id="more-text" hidden="true">This is a simple XULRunner application. XUL is simple to use and quite powerful and can even be used on mobile devices.
</window>
EOF
###
* and now if I call xulrunner, it works:
###
xulrunner xultestapp/
###
* however, if I use firefox:
###
firefox -no-remote -app xultestapp/
###
... Firefox just starts as usual, ignoring the XUL application specification.
Can anyone explain if/when/why was this option removed - and if there is a similar functionality in newer Firefoxes?
Many thanks in advance,
Cheers!
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in firefox: | |
status: | New → Expired |
User Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238
Steps to reproduce:
There has been an '-app' command line option for Firefox, which should have been introduced in Firefox 3:
http:// arstechnica. com/open- source/ news/2007/ 08/using- firefox- 3-as-a- xul-runtime- environment. ars
... which would have allowed Firefox to run XUL application via `firefox -app /path/to/ application. ini`.
However, that switch does not seem to work any longer in newer Firefoxes:
http:// stackoverflow. com/questions/ 5900814/ does-the- app-command- line-option- work-properly- in-firefox- 4 stackoverflow. com/questions/ 7869546/ single- file-app- with-xulrunner- possible
http://
I have performed the following test in Firefox 7 (versions as given above):
* Generate a small XUL application (bash):
### chrome/ content defaults/ preferences application. ini <<"EOF"
mkdir xultestapp
mkdir -p xultestapp/
mkdir -p xultestapp/
cat > xultestapp/
[App]
Vendor=XULTest
Name=xultestapp
Version=1.0
BuildID=20111024
<email address hidden>
[Gecko] chrome/ chrome. manifest <<"EOF" chrome. manifest <<"EOF" chrome. manifest defaults/ preferences/ prefs.js <<"EOF" defaultChromeUR I", "chrome: //xultestapp/ content/ main.xul" ); chrome/ content/ main.xul <<"EOF"
MinVersion=1.8
MaxVersion=2.*
EOF
cat > xultestapp/
content xultestapp content/
EOF
cat > xultestapp/
manifest chrome/
EOF
cat > xultestapp/
pref("toolkit.
EOF
cat > xultestapp/
<?xml version="1.0"?>
<?xml-stylesheet href="chrome: //global/ skin/" type="text/css"?>
<window id="main" title="xultestapp" width="300" height="300" xmlns="http:// www.mozilla. org/keymaster/ gatekeeper/ there.is. only.xul">
<caption label="Hello World"/> </description>
<separator/>
<button label="More >>" />
<separator/>
<description id="more-text" hidden="true">This is a simple XULRunner application. XUL is simple to use and quite powerful and can even be used on mobile devices.
</window>
EOF
###
* and now if I call xulrunner, it works: application. ini
###
xulrunner xultestapp/
###
Actual results:
* however, if I use firefox: application. ini
###
firefox -no-remote -app xultestapp/
###
... Firefox just starts as usual, ignoring the XUL application specification.
Expected results:
Firefox should have ran the XUL application just like xulrunner did.
----
Can anyone explain if/when/why was this option removed - and if there is a similar functionality in newer Firefoxes?
Many thanks in advance,
Cheers!