If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Firefox on the Mac does not recognize the jnlp MIME type and appropriately prechoose the Java Web Start program




File Handling
10 years ago
7 years ago


(Reporter: mvolaski, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [CLOSEME 2010-11-15])



10 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: Gecko/20070515 Firefox/
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: Gecko/20070515 Firefox/

Unfortunately, the only example I have is not on the web. It's a piece of hardware, http://www.avocent.com/web/en.nsf/Content/DSR1021, that has a web browser that launches a java applet through a jnlp file whose filename ends with with .cgi. 

Here's the file's contents:

<?xml version="1.0" encoding="utf-8"?>

<!-- JNLP File for Java Video Viewer Application -->

<jnlp spec="1.0+" codebase="">
       <title>Video Session Viewer</title>
       <description>Video Session Viewer</description>
       <description kind="short">Video Viewer</description>


       <j2se version="1.4+"/>
       <jar href="avctVideo.jar"/>
       <nativelib href="acvvWin32Lib.jar"/>
       <nativelib href="libavctLinux.jar"/>

    <application-desc main-class="com.avocent.video.Stingray">
       <argument>title="Avocent DSR1021 - 520255-04E01E"</argument>
       <argument>path=a:,p:6,c:0,s:"Video Viewer -

Firefox on the Windows side properly recognizes this file as a jnlp file and offers to launch the Java Web Start program, but on the Mac it's simply confused.

Reproducible: Always

Steps to Reproduce:
This bug was reported using Firefox 3.0 or older, which is no longer supported. The bug has also not been changed in over 500 days and is still in UNCO.
Reporter, please retest this bug in Firefox 3.6.10 or later using a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles. If you still see this problem, please update the bug. If you no longer see the bug, please set the resolution to RESOLVED, WORKSFORME.

This is a mass search of unconfirmed bugs that have no activity on them, so if you feel a bug was marked in error, just remove the CLOSEME comment in the whiteboard within the next month.
Whiteboard: [CLOSEME 2010-11-15]
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE

Comment 3

7 years ago
The problem certainly still affects my current profile. I haven't as of yet tried a fresh profile.
Can you please try creating a fresh profile?

Comment 5

7 years ago
It works fine with a fresh profile. I think it would work with regular profile except that Firefox for some reason is being tricked into thinking it has to save the .cgi file to disk and that fails with a cryptic "download error" rather than opening it with JavaStart or at least giving me the opportunity to assign the opening to JavaStart. In Preferences->Applications there is no reference to this type of file which ends with extension .cgi, so it seems like a separate bug. And certainly no program should ever fail with simply an error called "download error". That's worse than crashing!

The beginning of the file is
<?xml version="1.0" encoding="utf-8"?>

<!-- JNLP File for Java Video Viewer Application -->
There is some setting or extension in your current profile that is causing the issue. Try installing your extensions one by one in the new profile until you see the issue again. If you don't, it is a user setting.

Comment 7

7 years ago
Removing extensions made no difference. I'm not so sure about its being a setting. Who would program a setting to cause a download error? The code knows it's doing something wrong, it just doesn't how to express in specific concrete terms.
You need to log in before you can comment on or make changes to this bug.