Closed Bug 302784 Opened 19 years ago Closed 15 years ago

Polling an applet causes the caret to misbehave

Categories

(Core Graveyard :: Java: Live Connect, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jwkbugzilla, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(3 files)

Go to the URL given above or open the testcase I will attach. Then try to enter
text in any text field, it can be in a different tab/window or it can even be
the address field of the browser. If you type fast you will notice that the
caret sometimes doesn't move making you type in the middle of the word instead
of its end. This problem disappears immediately if you close the testcase.

I found out that this happens because the site is polling an applet every 100
milliseconds. It doesn't matter what the applet does, in my testcase the method
returns immediately. It is only important that the method is called all the time.
Attached file Testcase
A page containing an applet, it calls document.applets.a.dummy() every 50 ms.
The method dummy() doesn't do anything at all, but it still causes the caret in
any text field to go weird - the caret sometimes fails to catch up with the
text you are typing.
Attached file Applet source code
is this reprodicible?

I don't see it, but I'm not sure I have set it up correctly
QA Contact: pschwartau → live-connect
It could be that this is only reproducible with Adblock Plus (or other content policy) installed. However, that's an old bug - very likely that it's long gone. I cannot test right now, don't have Java installed.
thanks.  WFM based on my testing, and reopen if you see otherwise.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: