Closed Bug 236265 Opened 21 years ago Closed 21 years ago

brower hangs when tabbing into a text input control that has an onFocus event of this.blur()

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 232368

People

(Reporter: nzgreen, Assigned: bugzilla)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

I have a form on a webpage (not available on public Internet) that has a text
input control.  The HTML for this control is:
<input onFocus="if(this.blur)this.blur()" type="text" name="Product" size="25"
value="">
When tabbing through the form the browser hangs when the focus moves to this
control.  Checking the firefox.exe process through Task Manager I can see that
it is using 100% CPU.
Have tried changing the onFocus event to simply blur() and this causes the same
behaviour.

Reproducible: Always
Steps to Reproduce:
1. From within Firefox select File/Open File... and open the file attached to
this bug.
2. Click the cursor in the Description textbox to give it focus.
3. Press tab twice to tab into the Product textbox.
Actual Results:  
Cursor disappeared.  Browser stopped responding.  Could not click on other tabs
to continue browsing.  Firefox.exe process has to be killed.

Expected Results:  
Cursor should disappear.  Browser should still be repsonsive.  i.e. should be
able to select other tabs and continue browsing.

*** This bug has been marked as a duplicate of 232368 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Keywords: testcase
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: