Closed
Bug 288430
Opened 20 years ago
Closed 19 years ago
applet public method call from another frame makes Firefox unusable
Categories
(Core Graveyard :: Java: Live Connect, defect)
Tracking
(Not tracked)
RESOLVED
EXPIRED
People
(Reporter: ckulesza, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.6) Gecko/20050318 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.6) Gecko/20050318 Firefox/1.0.2 I have a simple page with a button that opens a popup window. The popup is an HTML page with a frameset containing two frames (on left is frameMain and on right frameApplet). The left frame calls the javascript function testApplet() (in the body's onLoad event). The right frame contains a basic applet with a public Java method getText() that returns "hello !". testApplet() code calls the getText() method in the following way : var text = top.frameApplet.document.applets[0].getText(); The popup when tested in IE 6 SP2, throws an exception because the applet has no time to load before the left frame onLoad calls the getText method (which, in this case, is normal). But on Firefox 1.0.2 the same popup stops the applet loading and makes the CPU work at 100% whithout any error. When I try to close the popup, Firefox crashes. Further mode, the simple call to : alert(top.frameApplet.document.applets[0]); in the frameMain.onLoad event makes the browser crash. Reproducible: Always Steps to Reproduce: 1.Build the popup and frameset as described 2.open the popup (it loads generaly very fast and the applet slowly) 3.the error appears immediately (cpu at 100%) as the frameMain calls the applet that is not yet loaded Actual Results: CPU at 100% When closing the popup, Firefox crashes (Windows XP asks to send a report) Expected Results: throw a javascript exception as in IE 6 (property or method does not exist or object is undefined)
can you please make a testcase available? you can attach each file (applets first) to bugzilla (and make the html files reference the urls of the attached applets/html files).
Assignee: firefox → live-connect
Component: General → Java: Live Connect
Product: Firefox → Core
QA Contact: general → pschwartau
Version: unspecified → 1.7 Branch
Comment 2•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 3•19 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in
before you can comment on or make changes to this bug.
Description
•