Closed
Bug 230813
Opened 21 years ago
Closed 20 years ago
Tab into a text input with onfocus=this.blur hangs browser
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
DUPLICATE
of bug 232368
People
(Reporter: bugzilla, Unassigned)
References
()
Details
(Keywords: hang, testcase)
Attachments
(1 file)
156 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040112 Firebird/0.8.0+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040112 Firebird/0.8.0+ Tabbing into a text input formfield that has onfocus="this.blur()" hangs the browser in nightly builds since at least mid-December, requiring a force quit. I've reproduced this with the most recent nightlies of Firebird (on MacOS X) and Mozilla (on Windows 2000). This problem does not exist in Firebird 0.7 on either platform or in Mozilla 1.3 on Windows 2000 (although Mozilla 1.3 lets you type in the field after tabbing in!). Clicking in the text field with onfocus="this.blur()" does not cause a problem in any case. Reproducible: Always Steps to Reproduce: 1. Go to http://www.leonout.com/mozilla/blur.html 2. Click in the first text field. 3. Press Tab Actual Results: The browser hangs and must be forced to quit. Expected Results: blur()ed the text field and returned focus to the page body.
Comment 1•21 years ago
|
||
Not JS engine.
Assignee: general → events
Component: JavaScript Engine → Event Handling
QA Contact: PhilSchwartau → ian
Summary: Tab into a text input with onfocus=this.blur hangs browser → Tab into a text input with onfocus=this.blur hangs browser
Whiteboard: DUPEME
This may be related to 53579, but I believe it's a new bug, since it's in the nightlies but doesn't exist in the latest milestones.
Comment 4•21 years ago
|
||
So I am guessing that calling this.blur() happens before the content is completely focused by the ESM or something... and then the ESM gets confused. Confirming and attaching the testcase. bryner, any chance you could look into this?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: DUPEME
Comment 5•21 years ago
|
||
Comment 6•20 years ago
|
||
dupe of a newer bug with more info -- "Hang when tab into input element with onBlur handler" *** This bug has been marked as a duplicate of 232368 ***
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•