Closed
Bug 117117
Opened 23 years ago
Closed 22 years ago
Crash when document.writing in the handler for a DOMAttrModified event
Categories
(Core :: DOM: Events, defect)
Tracking
()
People
(Reporter: vladimire, Assigned: hyatt)
Details
(Keywords: crash)
Attachments
(1 file)
513 bytes,
text/html
|
Details |
If you have a document.write statement in the event hander for a DOMAttrModified the browser crashes when the handler is called. Doesnt look like a recursive event, because if you pop up an alert box in the event handler it only pops up once... To reporoduce load the testcase... be careful, it can crash if the bug is present. I see this on windows 98 build 2001-12-26-03-trunk
Reporter | ||
Comment 1•23 years ago
|
||
Updated•23 years ago
|
Severity: normal → critical
Comment 2•23 years ago
|
||
Hyatt, not sure if you're looking at mutation event stuff at all anymore but since you wrote it you have the easiest shot and saying what the problem is here. Take a look when you get a chance.
Assignee: joki → hyatt
Comment 3•22 years ago
|
||
What practical purpose could this serve? clear() is called while an event is being handled (called before write()). Try wrapping the write statement in a setTimeout.
Reporter | ||
Comment 4•22 years ago
|
||
Actually, now that I think about this more, this is a dupe of a more severe issue. *** This bug has been marked as a duplicate of 77271 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•