Closed Bug 867300 Opened 12 years ago Closed 9 years ago

Java Apps Keep Running After Being Rejected

Categories

(Plugins Graveyard :: Java (Oracle), defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: wagle, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0 Build ID: 20130326150557 Steps to reproduce: goto http://www.math.ucr.edu/home/baez/ Actual results: the popup appears that gives me a choice to run the java app or not. I choose no/cancel. The app keeps running, chews cpu, and needs to be killed. Expected results: The java app should go away when rejected.
Component: Untriaged → Plug-ins
Product: Firefox → Core
I have no plug-ins installed, and there are no embed or object elements in the page. Are they added by scripts or what?
<script type="text/javascript" src="http://je.revolvermaps.com/r.js"></script> near the end of the page seems to be what's doing it. I do have java installed on my system.
Ah, now I see the block on the page that's doing it at the bottom of the long scrollable region of the page. Takes a while (a minute or two) to start up. After you reject it, it continues to run a CPU intensive event loop or something to say that it got a security exception and do you want to see the log and or reload? No option to just kill the obnoxious thing. I have to do that by killing the process from the MacOSX system "Activity Monitor" where it clearly identifies itself as "Java Applet - www.math.ucr.edu". Sounds like a Oracle/Sun/Java problem, but you (Mozilla) are better positioned to complain than I am.
Component: Plug-ins → Java (Oracle)
Product: Core → Plugins
Version: 20 Branch → unspecified
The best option would probably be to report such issues with Oracle as there doesn't seem to be a Firefox specific issue here.
Now that I see the problem clearly, I mostly agree with you, except that you (Mozilla) define the API and behavior the thing is supposed to have, like providing a method to stop the thing or to keep the thing from starting until I say when. Though, if Mozilla has a commitment to dance all the pigs with no way to stop them, like YouTube likes to do from multiple tabs simultaneously (in audio!), then I'm out of luck.
Given that plugins run native code, there isn't much in the way of restricting behaviour. However, you can currently disable Java via Tools→Addons→Plugins and click-to-play for plugins will soon be more prominently exposed (you can preview it by setting the pref plugins.click_to_play to true).
Ah, last time I tried click_to_play, it didn't work, but that was weeks or months ago. Tried it just now for youtube video in ff20. Still didn't work. But I suspect newer versions of ff work?
It works fine for me on Youtube, although we're still working on improving it (e.g. for the Youtube playlist case). But if you see specific things breaking with click-to-play, please report them in a new bug.
Closing old bugs in the Plugins component. We aren't going to track issues in 3rd-party plugins in the Mozilla bug tracker. In addition, support for NPAPI plugins will be removed at the end of this year; for more details see the post at https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/ If there is a serious bug in Firefox, it needs to be filed in the "Core" product, "Plug-Ins" component.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.