[Bug 765199] New: IcedTea-Web Plugin don't support Java Applet to call Javascript functions etc.
https://bugzilla.novell.com/show_bug.cgi?id=765199 https://bugzilla.novell.com/show_bug.cgi?id=765199#c0 Summary: IcedTea-Web Plugin don't support Java Applet to call Javascript functions etc. Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: PC OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: sauntor@yeah.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0 when using Java Plugin's LiveConnect technology withing the applet to communicator with html page via javascript function, the exception occurs. After adding some debug code, I found that the JSObject.getWindow(Applet theApp) method throw an exception, which plays the main role when using Java to interoperate with the page. I think this is a terrible problem. Reproducible: Always Steps to Reproduce: 1. download the attach file 2. unpack the archive 3. open the runapplet.html with firefox Expected Results: The applet was initialized successfully, and then, if I press the "Call Java" button, the javascript would alert a message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=765199
https://bugzilla.novell.com/show_bug.cgi?id=765199#c1
--- Comment #1 from David shiran
https://bugzilla.novell.com/show_bug.cgi?id=765199
https://bugzilla.novell.com/show_bug.cgi?id=765199#c2
Michal Vyskocil
Expected Results: The applet was initialized successfully, and then, if I press the "Call Java" button, the javascript would alert a message.
That's what I've got, alert widnow with Javascript receive the parametes: [Hello][3] and then some Java window with following text 在调用JS后(点击按钮) - looking at source code I'd bet it's correct. I've used icedtea-web 1.2. Do you have the same version of it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=765199
https://bugzilla.novell.com/show_bug.cgi?id=765199#c3
David shiran
That's what I've got, alert widnow with
Javascript receive the parametes: [Hello][3]
and then some Java window with following text 在调用JS后(点击按钮) - looking at source code I'd bet it's correct.
I've used icedtea-web 1.2. Do you have the same version of it?
Yes, it acted exactly as excepted , but why it malfunctioned with my PC( even now ), I'v already updated my openSUSE 12.1(KDE) to the last( and with icedtea-web 1.2-3.1)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=765199
https://bugzilla.novell.com/show_bug.cgi?id=765199#c4
David shiran
participants (1)
-
bugzilla_noreply@novell.com