Closed Bug 288827 Opened 20 years ago Closed 20 years ago

browser crash if a select element is removed onchange

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 231830

People

(Reporter: k, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050325 Firefox/1.0.2 (Debian package 1.0.2-1) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050325 Firefox/1.0.2 (Debian package 1.0.2-1) Firefox crashes with a segfault if the onchange event (which removes the select element) is fired when changing the option with the keyboard and leaving the select element with the tab key. Reproducible: Always Steps to Reproduce: 1. Select the form element with the mouse 2. Choose an other option with the keyboard (cursor keys) 3. Press Tab to leave the element. This will fire the onchange event which will call a javascript function which deletes the form element. Segfault. Actual Results: Segfault. Expected Results: Form element should simply be removed. This works if its done by mouse clicks instead of keyboard navigation.
TB4804882G Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050330 Firefox/1.0+ dupeme 231830, by way of 285419 (285419 isn't duplicated atm, but if Boris Zbarsky thinks it's a dupe of 231830, who am I to disagree (more importantly, 231830 isn't just limited to use of the alert() function)
*** This bug has been marked as a duplicate of 231830 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.