Closed
Bug 125906
Opened 23 years ago
Closed 22 years ago
crash in Form
Categories
(Core :: Layout: Form Controls, defect, P1)
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: Matti, Assigned: john)
References
()
Details
(Keywords: crash)
Attachments
(3 files, 1 obsolete file)
133.40 KB,
text/plain
|
Details | |
1.11 KB,
patch
|
john
:
review+
attinasi
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
23.20 KB,
application/octet-stream
|
Details |
win2k build 20020210.. debug and 20020215.. 1. Open URL 2. click on the link "SELFHTML Quickbar" 3. Select CSS-Syntaxverzeichnis in the form "SELFHTML Quickbar" 4.click the arrow in the right (second) form 5. hit the key "o" and scroll down with the scroll wheel and sevelct "overflow" 6. crash
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
froze for nearly a minute before dying, linux 2002-02-10-06-trunk. os->all
OS: Windows 2000 → All
Comment 3•23 years ago
|
||
I get basically the same stack trace. Basically, just scroll around and then select an item to do the submit
Comment 4•23 years ago
|
||
nsbeta1+
Assignee | ||
Comment 5•22 years ago
|
||
The problem is, nsHTMLSelectElement::RemoveFocus() is called before that bit is set that tells the system that it is actually blurred. When we fire onChange from there, and the selected index has changed, the JS immediately runs and causes another blur to occur (since the system still thinks it's blurred). We have not yet marked the boolean flag that says onChange has already been fired, so we then fire again, which blurs again ... etc. This fix should deal with all symptoms of the problem, though I'm queasy about the fact that onBlur() is called twice at all. Perhaps there is a way to dump the onChange event in the event queue rather than handling it immediately?
Assignee | ||
Comment 6•22 years ago
|
||
Ok, I have decided this is good enough for 1.0 since it fixes the crash and really is the way to do it anyway. The rest of the story is filed as bug 130500.
Comment 7•22 years ago
|
||
Comment on attachment 73636 [details] [diff] [review] Patch r=rods
Attachment #73636 -
Flags: review+
Assignee | ||
Comment 8•22 years ago
|
||
Added a nullcheck to make us not crash on listboxes.
Attachment #73636 -
Attachment is obsolete: true
Assignee | ||
Comment 9•22 years ago
|
||
Comment on attachment 73916 [details] [diff] [review] Patch v1.0.1 Transferring r=rods
Attachment #73916 -
Flags: review+
Comment 10•22 years ago
|
||
Comment on attachment 73916 [details] [diff] [review] Patch v1.0.1 sr=attinasi
Attachment #73916 -
Flags: superreview+
Comment 11•22 years ago
|
||
Comment on attachment 73916 [details] [diff] [review] Patch v1.0.1 a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #73916 -
Flags: approval+
Assignee | ||
Comment 12•22 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 13•22 years ago
|
||
verified fixed win2000 buildID: 2002-03-18-05trunk redhat Linux 7.2 buildID: 2002-03-18-06trunk
Status: RESOLVED → VERIFIED
Comment 14•22 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•