Closed
Bug 388233
Opened 19 years ago
Closed 11 years ago
[Java Embedding Plugin] Java-to-JavaScript call to 'confirm' times out in Cocoa browsers
Categories
(Plugins Graveyard :: Java (Java Embedding Plugin), defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: eks0, Unassigned)
Details
Attachments
(1 file)
|
2.33 KB,
application/zip
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.4) Gecko/20070509 Camino/1.5 (MultiLang)
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.4) Gecko/20070509 Camino/1.5 (MultiLang)
In the page javascript:
function testFx()
{
return confirm("Are you mad ?");
}
In the applet (implements MouseListener) :
public void mouseClicked(MouseEvent mevt) {
result = JSObject.getWindow(this).call("testFx", null);
repaint();
}
The "result" variable is an object, displayed by the paint(Graphics g) method with g.drawString("" + result,20,20);
Reproducible: Always
Steps to Reproduce:
1. Create an applet & testpage with the methods explained here upper
2. Load the page and click on the applet to display the confirm box
3. Wait a few seconds without answering to the confirm question
Actual Results:
Returns null, althoug the user did not respond already to the confirm box.
Expected Results:
Wait for confirrmation, then return the value (true or false). This is done when you answer within few seconds to the confirm box.
Does not appear in Firefox 2 or Safari 2.
Clément, do you have a sample testpage available so that those of us not familiar with creating applets can try this?
Summary: [Embedded Java Plugin] JSOjbect call times out → [Embedded Java Plugin] JSObject call times out
Comment 2•19 years ago
|
||
> Does not appear in Firefox 2 ***or Safari 2***.
If this problem also happens in Safari, it can't be caused by a bug in
the Java Embedding Plugin.
What version of Mac OS X did you test on?
Comment 3•19 years ago
|
||
>> Does not appear in Firefox 2 ***or Safari 2***.
>
> If this problem also happens in Safari, it can't be caused by a bug
> in the Java Embedding Plugin.
Oops, I think I misunderstood. You're saying that "does not appear"
is the correct behavior.
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Component: Plug-ins → Java Embedding Plugin
Ever confirmed: true
Product: Camino → Core
Summary: [Embedded Java Plugin] JSObject call times out → [Java Embedding Plugin] Java-to-JavaScript call to 'confirm' times out
Updated•19 years ago
|
Assignee: nobody → smichaud
Summary: [Java Embedding Plugin] Java-to-JavaScript call to 'confirm' times out → [Java Embedding Plugin] Java-to-JavaScript call to 'confirm' times out in Camino
Comment 4•19 years ago
|
||
I've confirmed this -- it's a design flaw (more or less) in a
workaround for bugs in Mozilla.org browsers, which only effects
Cocoa-based browsers (Camino and current Minefield nightlies).
(Testing in Minefield nightlies is a bit tricky. Because bug 383783
broke Java-to-JavaScript LiveConnect, Minefield will crash with this
example applet until you upgrade its bundled JEP to 0.9.6.3. For more
information see bug 386918.)
I'm not entirely sure I'll be able to correct this problem. But my
(flawed) workaround is quite old, and it's possible that the
underlying bugs (the ones its works around) no longer exist, or no
longer exist in Cocoa-based browsers. In any case it's certainly
worth my while to revisit this old workaround.
Updated•19 years ago
|
Summary: [Java Embedding Plugin] Java-to-JavaScript call to 'confirm' times out in Camino → [Java Embedding Plugin] Java-to-JavaScript call to 'confirm' times out in Cocoa browsers
Sorry I should have attached the test applet.
Thank you Steven.
Component: Java Embedding Plugin → Java (Java Embedding Plugin)
Product: Core → Plugins
QA Contact: plugins → jep-java
Comment 6•11 years ago
|
||
The JEP is long gone.
Assignee: smichaud → nobody
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
| Assignee | ||
Updated•10 years ago
|
Product: Plugins → Plugins Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•