Bug 985089 - java applets are not working in firefox on f19
java applets are not working in firefox on f19
Status: CLOSED DUPLICATE of bug 903406
Product: Fedora
Classification: Fedora
Component: icedtea-web (Show other bugs)
19
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: jiri vanek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-16 14:37 EDT by Garrett Mitchener
Modified: 2014-01-02 11:41 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-01 10:09:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
export ICEDTEAPLUGIN_DEBUG=true; firefox >& firefox-java-log.txt & then visit java.com and try to load the test applet (36.22 KB, text/plain)
2013-07-16 14:37 EDT, Garrett Mitchener
no flags Details
java.stderr (30.14 KB, text/plain)
2013-07-30 16:16 EDT, Garrett Mitchener
no flags Details

  None (edit)
Description Garrett Mitchener 2013-07-16 14:37:01 EDT
Created attachment 774444 [details]
export ICEDTEAPLUGIN_DEBUG=true; firefox >& firefox-java-log.txt & then visit java.com and try to load the test applet

Description of problem:

Java applets don't work in Firefox.

Version-Release number of selected component (if applicable):

firefox-22.0-1.fc19.i686
icedtea-web-1.4-2.fc19.i686
selinux-policy-3.12.1-63.fc19.noarch

How reproducible:

Every time.

Steps to Reproduce:

Using Firefox and icedtea-web: Go to http://www.java.com/ and click through "Do I have java" and "Verify java version" to get to 

http://java.com/en/download/installed.jsp?detect=jre

The applet doesn't appear.  I haven't been able to get any java applet to work.

Additional info:

The test applet at java.com doesn't appear on google-chrome either.  However, I can at least get into my university's Juniper VPN using google-chrome, and that involves an applet.

It might be a problem with icedtea-web, SELinux, or polkitd, but I'm having trouble narrowing it down.  

I'm filing this bug under firefox because I am getting Java applets to work on google-chrome.
Comment 1 Garrett Mitchener 2013-07-16 16:31:42 EDT
These applets work once I grant permission:

http://www.javakode.com/applets/

Maybe it has to do with signed vs. unsigned applets?
Comment 2 Deepak Bhole 2013-07-24 10:33:37 EDT
Hi Garrett. Yes, all applets now require permission to run, even unsigned ones. We did this in light of the recent barrage of Java security erratas.

So everything works for you if you grant the permissions?
Comment 3 Garrett Mitchener 2013-07-30 16:08:20 EDT
No.  The applet at 

http://java.com/en/download/installed.jsp?detect=jre

never asks for permission.  I get a gray rectangle in the browser window where the applet should go, and nothing more.

I get the same thing trying to log in to the Juniper VPN that my employer uses.
Comment 4 Garrett Mitchener 2013-07-30 16:15:33 EDT
Correction: If I first erase ~/.icedtea*/ then try to load the java.com test page, it does ask permission, remembers that I clicked "yes", then continues to fail as described.  I'll attach ~/.icedtea/log/java.stderr & java.stdout
Comment 5 Garrett Mitchener 2013-07-30 16:16:07 EDT
Created attachment 780830 [details]
java.stderr
Comment 6 Garrett Mitchener 2013-07-30 16:18:25 EDT
java.stdout is empty
Comment 7 Omair Majid 2013-07-30 16:19:18 EDT
I can confirm.

When I visit:
http://java.com/en/download/installed.jsp?detect=jre

I get a prompt asking me for confirmation to run the applet. When I grant the permissions, I get a grey box and nothing happens.

I tried again and when I deny the permissions, I get the standard icedtea errors displayed.
Comment 8 Deepak Bhole 2013-07-30 16:36:19 EDT
So it is a problem with the permission mechanism? Assigning to Adam to take a look.+
Comment 9 Omair Majid 2013-07-30 16:39:42 EDT
(In reply to Deepak Bhole from comment #8)
> So it is a problem with the permission mechanism?

Can't say. The applet just turns grey when I allow it to run.
Comment 10 Adam Domurad 2013-08-01 10:09:38 EDT
The applet is silently failing here after failing to go to a 'javascript:<some code>' URL. Marking as duplicate.

*** This bug has been marked as a duplicate of bug 903406 ***

Note You need to log in before you can comment on or make changes to this bug.