Bug 9212

Summary: dispatchEvent13.html crashes under GuardMalloc
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: DOMAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Patch mjs: review+

Anders Carlsson
Reported 2006-06-01 11:01:29 PDT
This test calls removeEventListener in an event handler, which can result in a crash. While the list of registered event handlers are copied before dispatching the event, the registered event handler objects aren't. Also, when an event listener is removed in an event handler, it shouldn't be invoked later. (This is what's tested)
Attachments
Patch (7.69 KB, patch)
2006-06-01 11:06 PDT, Anders Carlsson
mjs: review+
Anders Carlsson
Comment 1 2006-06-01 11:06:24 PDT
Maciej Stachowiak
Comment 2 2006-06-01 11:50:36 PDT
Comment on attachment 8645 [details] Patch r=me
Lucas Forschler
Comment 3 2019-02-06 09:02:35 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note You need to log in before you can comment on or make changes to this bug.