Closed Bug 131843 Opened 23 years ago Closed 21 years ago

javascript onblur event called for checkbox or radio control results in a crash

Categories

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

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: madhur, Assigned: saari)

Details

(Keywords: crash, testcase)

Attachments

(1 file)

1. open the attached testcase. 2. tab to the "onblur event" checkbox 3. hit enter the onblur event is triggered. An alert box is displayed saying "onblur event" 4. hit the enter key results in a crash on the experimental build. I tested this on buildID : 2002-03-18-05trunk. There was no crash on this build, but when i did steps 1-3, the alert box did pop up (alert box should not pop up since the checkbox still has focus ). when i hit the enter key, i lose focus from the window.
Attached file testcase (deleted) —
run the steps described above
another thing i noticed. see the same attached testcase. 1. when i click on the onclick event checkbox --- i see a check mark. when i click or hit the enter key on the "ok" button of the alert box --- the checkmark disappears. 2. when i click the onblur event checkbox or the onfocus event checkbox --- i do not see any checkmark appear, thought the focus remains on the respective control.
I get this on a nightly build I just pulled down as well as my branch build. Doesn't seem related to the branch changes. The other comments you mentioned about checkmarks are fixed.
Status: NEW → ASSIGNED
Summary: [experimental build] javascript onblur event called for checkbox control results in a crash → javascript onblur event called for checkbox control results in a crash
verified that the checkmark issue is fixed in the new experimental build. The crash issue has still to be fixed.
Keywords: crash, testcase
same thing happens for <input type=radio> IncidentID : 4469134 changing summary.
Summary: javascript onblur event called for checkbox control results in a crash → javascript onblur event called for checkbox or radio control results in a crash
QA Contact: madhur → rakeshmishra
A test suite has been created to track bug 58441, bug 134293, bug 105129, bug 131843, bug 50221, bug 134321, bug 122311, and bug 112294: http://bugzilla.mozilla.org/attachment.cgi?id=100778&action=view People who have reported problems in the bugs mentioned please perform all the test in this suite. All bugs will be resolved as duplicate of the appropriate bug unless someone can reproduce a problem with onblur/onfocus style change (no alert involved)
QA Contact: rakeshmishra → trix
By the definitions on <http://bugzilla.mozilla.org/bug_status.html#severity> and <http://bugzilla.mozilla.org/enter_bug.cgi?format=guided>, crashing and dataloss bugs are of critical or possibly higher severity. Only changing open bugs to minimize unnecessary spam. Keywords to trigger this would be crash, topcrash, topcrash+, zt4newcrash, dataloss.
Severity: normal → critical
.
Assignee: joki → saari
Status: ASSIGNED → NEW
QA Contact: trix → ian
WFM, 2003-10-31-05 trunk Linux
WFM, 2003-10-28-04 trunk Windows 98 SE. -> WORKSFORME
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
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: