Closed
Bug 878532
Opened 13 years ago
Closed 13 years ago
JavaScript unable to access Java Applet in Firefox 22 on OSX, Works on Windows
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 872969
People
(Reporter: umlungu, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36
Steps to reproduce:
Accessing a Java Applet's public methods via JavaScript does not work in FF 21 on OSX with Java 7, update 21 installed.
This works in FF 20 and Safari on the same system with the same Java plugin. FF 21 on Windows works.
Actual results:
Accessing a public method of an Applet returns a JavaScript error similar to: "TypeError: myApplet.myMethod is not a function".
Expected results:
Accessing the public method "myMethod" in the above example should have returned the result of the call inside the applet. This could have been a boolean, a string, an int or any other return type.
Comment 1•13 years ago
|
||
Thanks for reporting this.
Could you provide a url or a testcase for testing this, it could help to better understand?
Updated•13 years ago
|
Flags: needinfo?(umlungu)
Keywords: testcase-wanted
| Reporter | ||
Comment 2•13 years ago
|
||
This is a test case that fails in FF21 but passes in FF20 with the specs described in the defect.
Please note that on some machines with identical configurations this test case fails 100% of the time while other machines the test case will pass 1 in 10 times if the user reloads the test case repeatedly.
Flags: needinfo?(umlungu)
| Reporter | ||
Updated•13 years ago
|
Keywords: testcase-wanted → testcase
| Reporter | ||
Updated•13 years ago
|
Summary: JavaScript unable to access Java Applet in Firefox 21 on OSX, Works on Windows → JavaScript unable to access Java Applet in Firefox 22 on OSX, Works on Windows
Comment 3•13 years ago
|
||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Firefox/22.0
buildID : 20130618035212
I've tried with the current Firefox release and I've tested it with the latest java update available and I've never experienced that error. The popup has always showed me "Test Passed" in more than 10 test.
Try update to Java 7, update 25 installed.
| Reporter | ||
Comment 4•13 years ago
|
||
Thank for the feedback. I have tried FF22 with Java 7 Update 25 with the same result. I have included an attachment showing the result.
| Reporter | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Could you try with a fresh in Firefox Safe Mode?
https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?redirectlocale=en-US&redirectslug=Basic+Troubleshooting#w_3-restart-firefox-in-safe-mode
And with a fresh profile?
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Comment 7•13 years ago
|
||
I am also seeing this problem.
Mac OS 10.8.4
FF 22
Java 7 u25
calling applet.someFunc() from javascript results in applet.someFunc is not a function.
Comment 8•13 years ago
|
||
I'm also affected by this bug, also since a recent update; an applet that was previously working fine stopped working. Also 10.8.4 / 22.0 / 7u25.
I did what Tiziana requested above (safe mode and fresh profile), with potentially interesting results:
Normally (no safe mode, no fresh profile), I get
Fehler: TypeError: stringTest.beginTest is not a function
Quelldatei: http://home.arcor.de/joriki/StringTest.html
Zeile: 4
Both in safe mode and with a fresh profile, I instead get
Fehler: uncaught exception: java.lang.reflect.InvocationTargetException
(whereas when I deny execution of the applet in the security popup, I get the "not a function" error again)
Updated•13 years ago
|
Comment 9•13 years ago
|
||
Same result as above (Comment 8) with the current nightly build, 25.0a1 (2013-08-02).
Comment 10•13 years ago
|
||
Same result also for the test at https://jdk6.java.net/nonav/plugin2/liveconnect/MethodInvocation.html : noArgMethod is not a function, and the page only shows "See Java Console for Java output and below for JavaScript output:", with no JavaScript output.
Updated•13 years ago
|
Component: General → Plug-ins
Comment 11•13 years ago
|
||
This is bug 872969. Short recap:
Depending on timing and bug 823559, Java may give the brower an invalid scriptable object. Bug with Oracle logged per bug 872969, comment 110.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•