Closed
Bug 779844
Opened 12 years ago
Closed 12 years ago
click-to-play doesn't work with java applets on talon.cz
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mikulas, Assigned: gfritzsche)
References
Details
(Keywords: qawanted, verifyme)
Attachments
(1 file)
(deleted),
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Build ID: 20120713134347 Steps to reproduce: go to about:config and enable plugins.click_to_play go to www. talon.cz click on "Vstoupit" button there is a list of games in progress click on "Pripoj se" to join a game Actual results: you get at error "problem with java" and the game won't load - there is nowhere to click to enable the java applet Expected results: the game should load after clicking on the applet note that click to play works with Chrome on the same server
Neither does it with click-to-play functionality of the NoScript add-on when I click the placeholder (you need to have set that the way that plugins are blocked even on whitelisted sites).
Ignore what I previously said, it does work in general with NoScript's click-to-play setup (just not on one particular profile for me).
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 If plugins.click_to_play is enabled, java applets loaded from ".jar" files do not work. Java applets loaded from ".class" files work as expected. Test scenario: - html page contains the following element: <applet id="Test" name="Test" archive="test.jar" code="com.Test.class" height="500" width="800"> If about:config - plugins.click_to_play is enabled, Web Console in firefox shows the following request: Request URL: http://192.168.0.1:8080/testwebapp/com.Test.class Request Method: GET Status Code: HTTP/1.1 404 Not Found The source of the problem is that firefox tries to download the applet from file: "com.Test.class" (no such file exist on the webserver) - but it should download the applet from file: "test.jar" as specified in atribute "archive" in element <applet>
Updated•12 years ago
|
(In reply to speedcomp from comment #3) > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 > Firefox/16.0 > > If plugins.click_to_play is enabled, java applets loaded from ".jar" files > do not work. Java applets loaded from ".class" files work as expected. > > Test scenario: > - html page contains the following element: > <applet id="Test" name="Test" archive="test.jar" code="com.Test.class" > height="500" width="800"> > > > If about:config - plugins.click_to_play is enabled, Web Console in firefox > shows the following request: > Request URL: http://192.168.0.1:8080/testwebapp/com.Test.class > Request Method: GET > Status Code: HTTP/1.1 404 Not Found > > The source of the problem is that firefox tries to download the applet from > file: "com.Test.class" (no such file exist on the webserver) - but it should > download the applet from file: "test.jar" as specified in atribute "archive" > in element <applet> John would probably be the best person to look at this.
Comment 5•12 years ago
|
||
Does this still occur on Firefox beta or above? The click-to-play situation in 16 is not great.
Updated•12 years ago
|
(In reply to John Schoenick [:johns] from comment #5) > Does this still occur on Firefox beta or above? The click-to-play situation > in 16 is not great. Yes, in FF19, there is no gray overlay to activate Java plugin in the webpage, only the blue lego brick in the location bar.
From Loic's comment and what I'm seeing, it does work (e.g. you can click the plugin icon, activate the plugin, and it loads, eventually). The only thing is the overlay isn't showing in-content, which sounds exactly like bug 798623.
Assignee | ||
Comment 8•12 years ago
|
||
I checked through FF17-19 and the situation is the same: * Activation via the awesomebar icon / doorhanger works fine (AFAICT without knowing chzech) * No click-to-play UI is shown in page due to the applet having height=25 (same as for object/embed elements) Can someone confirm this? (In reply to speedcomp from comment #3) > If plugins.click_to_play is enabled, java applets loaded from ".jar" files > do not work. Java applets loaded from ".class" files work as expected. Seems to work fine with FF17-19 on talon.cz with both: * code=Marda.class archive=mprogC.jar,mres.jar * archive=mprogC.jar,mres.jar code=Marda.class Is there a test-case that breaks with FF17+?
Assignee | ||
Comment 9•12 years ago
|
||
Closing as the issue seems to be fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•12 years ago
|
tracking-firefox17:
? → ---
tracking-firefox18:
? → ---
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•