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)

x86
Windows 98
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 77271

People

(Reporter: vladimire, Assigned: hyatt)

Details

(Keywords: crash)

Attachments

(1 file)

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
Keywords: crash
Severity: normal → critical
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
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.
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
vfy
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: