Closed
Bug 76870
Opened 23 years ago
Closed 23 years ago
crash on appending element in the event handler of a mutation event
Categories
(Core :: DOM: Events, defect)
Tracking
()
mozilla1.0.1
People
(Reporter: vladimire, Assigned: hyatt)
References
Details
Attachments
(1 file)
751 bytes,
text/html
|
Details |
If you have a DOMNodeInserted event listener that calls appendChild Netscape 6 crashes. I thought this might be because there is an infinite loop and event handler is calling itself, and maybe it is so, but I did add a flag to check whether the event has been called or not, and it is still crashing. To reproduce open the attached testcase and click the button. Watch it crash.
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Cool. Looks pretty infinite loopy to me from the stack trace. More fun for hyatt.
Assignee: joki → hyatt
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 3•23 years ago
|
||
Looking at the source code to the attachment, I feel very strongly this bug is a duplicate of bug 77271, which covers a broader scope but essentially the same issue imho. However, after a quick discussion in #bugweek, I've decided to take a safer route and mark this bug dependent on 77271. Opinions welcome.
Depends on: 77271
Reporter | ||
Comment 4•23 years ago
|
||
Oh yeah of course, except this was created before :) *** This bug has been marked as a duplicate of 77271 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•