Closed Bug 80786 Opened 23 years ago Closed 23 years ago

onfocus in body tag can cause infinite loop

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 58441

People

(Reporter: rrmaclac, Assigned: joki)

Details

Attachments

(1 file)

A script such as this
<BODY onfocus="alert('la la la')">
causes Mozilla to lock up until i kill the process!
Attached file HTML testcase
Assignee: rogerl → joki
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Event Handling
Ever confirmed: true
QA Contact: pschwartau → gerardok
Browser, not engine. Reassigning to Event Handling for further triage.
IE4.7 does not go into an infinite loop on the testcase. 

NN4.7 goes into an infinite loop if you load the testcase, Alt+Tab to 
some other application, then Alt+Tab back to NN4.7

Moz also infinite-loops, if you bring the mouse to focus on the body -

*** This bug has been marked as a duplicate of 58441 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
QA contact updated
QA Contact: gerardok → madhur
QA Contact: madhur → rakeshmishra
QA Contact: rakeshmishra → trix
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: