Closed
Bug 285320
Opened 20 years ago
Closed 20 years ago
javascript can't access public functions of java applets
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: disserman, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050302 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050302 Firefox/1.0.1 I have the following error: I created java applet with some public function i.e. setParams() When I execute javascript like document.applet1.setParams() it doesn't work. Javascript console reports that 'document.applet1.setParams() is not a function'. Everything works fine when the page and applet class are on the local machine. When I'm trying to access the same document on the remote server I get this error. I've tried to change various configuration options to no avail. Reproducible: Always Steps to Reproduce: 1. create java applet with some public function 2. try to access it from javascript 3. Actual Results: got 'document.applet1.setParams() is not a function' error Expected Results: access the public function works fine under IE 6.0, Mozilla 1.7.5 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050217) but doesn't work in FireFox. please help me to optimize my application for all browsers including firefox.
I've discovered the bug is not in firefox, it's in the adblock extension (http://adblock.mozdev.org/) after uninstalling this extension bug disappeared.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•