搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

FireFox v.22, Mac (Java 7 update 25) calls onload() with applet unkown status ('undefined' instead of 1,2,or 3 - LOADING, READY, or ERROR)

  • 1 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 iamjayakumars

more options

I have a simple html page that loads an applet. The page's onload() handler checks for the applet's status and if loading it registers an applet load and error handler, if ready it starts using the applet. For more details, check this link

 http://docs.oracle.com/javase/tutorial/deployment/applet/appletStatus.html

On most machines this works properly. On some Mac machines the applet's status is undefined when the page's onload handler is called. The java console confirms that the applet has been loaded, initialized and started. If I use a self signed jar, on machines that work properly, the onload() handler is only called *after* I answer the security dialog. On the machine that fails, onload() handler is called *before* I answer the security dialog. I iterated through document.applets and found that my applet is found both by name and by id Opened up firefox' debugging tools, there are no errors in the console.

I have a simple html page that loads an applet. The page's onload() handler checks for the applet's status and if loading it registers an applet load and error handler, if ready it starts using the applet. For more details, check this link http://docs.oracle.com/javase/tutorial/deployment/applet/appletStatus.html On most machines this works properly. On some Mac machines the applet's status is undefined when the page's onload handler is called. The java console confirms that the applet has been loaded, initialized and started. If I use a self signed jar, on machines that work properly, the onload() handler is only called *after* I answer the security dialog. On the machine that fails, onload() handler is called *before* I answer the security dialog. I iterated through document.applets and found that my applet is found both by name and by id Opened up firefox' debugging tools, there are no errors in the console.

所有回复 (1)

more options

Hello,

Try Firefox Safe Mode to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.

(If you're not using it, switch to the Default theme.)

  • You can open Firefox 4.0+ in Safe Mode by holding the Shift key when you open the Firefox desktop or Start menu shortcut.
  • Or open the Help menu and click on the Restart with Add-ons Disabled... menu item while Firefox is running.

Once you get the pop-up, just select "'Start in Safe Mode"

If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to figure out which one. Please follow the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article for that.

To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.

When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.

Thank you.