Closed Bug 419824 Opened 18 years ago Closed 18 years ago

Firefox 3.0b3 regression in signed applet- JSObject.getWindow(this) returns null

Categories

(Core Graveyard :: Java: OJI, defect)

PowerPC
macOS
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 421855

People

(Reporter: bhavesh.patel, Unassigned)

Details

Attachments

(1 file, 3 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Build Identifier: Firefox/3.0b3 We have an existing applet (signed applet) which work on Firefox older versions and on Firefox 3.0b2 with some problem but now on Firefox 3.0b3 applet throws null pointer exception. It looks like there are some regression in Java Embedding plugin. Earlier a have logged a bug for Firefox 3.0b2 https://bugzilla.mozilla.org/show_bug.cgi?id=411117. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Component: General → Java: OJI
Product: Firefox → Core
QA Contact: general → java.oji
Attached file Applet html (obsolete) —
Attached file Test Applet jar (obsolete) —
The problem is with JSObject.getWindow(this) this method return null in FireFox 3.0b3 and 3.0b4. This code works fine till Firefox 3.0b2. Two files attached applet.html (in Applet html attachment) and testApplet.jar (in Test Applet jar attachment). To run applet jaws.jar will also be required. Run the applet, in console it will print the object returned from JSObject.getWindow(this).
Attached file Source code of TestApplet (obsolete) —
Summary: Firefox 3.0b3 regression in signed applet → Firefox 3.0b3 regression in signed applet- JSObject.getWindow(this) returns null
Severity: critical → blocker
Attachment contains source and test application. Unzip Attachment Run the applet.html, in console it will print the object returned from JSObject.getWindow(this).
Attachment #309953 - Attachment is obsolete: true
Attachment #309954 - Attachment is obsolete: true
Attachment #309957 - Attachment is obsolete: true
I can confirm the problem still exists in Firefox 3.0b5. This bug effectively breaks Java-to-JavaScript communication in Firefox. It is an immensely critical bug for many applications.
Here’s an easy URL to reproduce this issue: http://www.editize.com/democms.php The error message that appears is caused by this bug, and the stack trace is output to the Java console.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: