Closed Bug 913857 Opened 11 years ago Closed 7 years ago

Firefox java applet fails when the firefox is launched by a java program

Categories

(Core Graveyard :: Plug-ins, defect, P5)

23 Branch
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: walter.garcia, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130807180628

Steps to reproduce:

R
Run a simple Java program (a runnable jar file). The Java program code is as following

import java.io.IOException;
public class Main {
     public static void main(String args[]) throws IOException {
          //this website has a small Java applet inside
          Runtime.getRuntime.exec("firefox http://javatester.org/version.html");
          System.out.println("hello world");
     }
}

My JRE (yes, JRE, not JDK) is Oracle JRE 1.6.0_38.

What the program does is essentially opening http://javatester.org/version.html in Firefox. This website has a small Java applet, so performance won't be a problem. 


Actual results:

What happens then is that, Firefox is opened, http://javatester.org/version.html is opened, BUT the applet inside the website FAILS to play. The same thing happens if my Java program opens any other website which has applet.

However, if I run "firefox http://javatester.org/version.html" from command line, everything works perfectly. Similarly, if I open Firefox, then I type http://javatester.org/version.html at the URL field, everything also works perfectly.

This problem happens in Firefox, but NOT in Chromium (which I installed from your standard repository).

This problem doesn't happen in Oracle Linux distro. I haven't tried in other Linux distros, though.


Expected results:

Open http://javatester.org/version.html in Firefox
Component: Untriaged → Plug-ins
Product: Firefox → Core
Priority: -- → P5
I'm marking this bug as WONTFIX per bug #1269807.

For more information see - https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.