Closed Bug 904033 Opened 10 years ago Closed 10 years ago

Local Java Applets without specified codebase are not loading with Firefox 23


(Core Graveyard :: Plug-ins, defect)

23 Branch
Not set


(Not tracked)



(Reporter: alexanderuri, Unassigned)


User Agent: Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0 (Beta/Release)
Build ID: 20130116073211

Steps to reproduce:

Create a simple static HTML page which includes a Java Applet via EMBED tag. The Applet (a Jar-File) is located on the local machine in the same directory as the static HTML pade which includes the Applet. Do not specificy the attribute "codebase".

Here is my example HTML code:

<EMBED type="application/x-java-applet;version=1.6" code="MyApplet.class" archive="myapplet.jar">

Actual results:

The Java VM does not start, only a white page is displayed.

Expected results:

Similar to older Firefox versions the Java VM should start and the Applet should be displayed. If both files (the static HTML page and the Applet) are located on the client's machine in the same directory it should not be neccessary to specify the optional attribute "codebase" because "codebase" is assumed to return the document base.

If I add codebase="C:\myfolder" to my example code and the static HTML page and the Applet are located in "C:\myfolder" the Applet starts. Up to Firefox version 22 this also worked without specifying codebase.
Duplicate of bug 902375?
OS: Windows XP → All
Hardware: x86 → All
(In reply to Scoobidiver from comment #1)
> Duplicate of bug 902375?

Definitely seems related - johns, would this be covered by bug 902375 or does it need separate attention?
Flags: needinfo?(jschoenick)
Yes, this is a more specific case of bug 902375 and will be fixed by the patches there.
Closed: 10 years ago
Flags: needinfo?(jschoenick)
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.