Bug 167755

Summary: GC may not visit event targets for async events
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Michael Saboff
Reported 2017-02-02 14:08:10 PST
] When running the test fast/shadow-dom/slotchange-event-bubbling.html with a Debug build and the options JSC_scribbleFreeCells=true JSC_collectContinuously=true JSC_useGenerationalGC=false the following ASSERT will fire in JSEventListener.h 129 ASSERT(!m_isolatedWorld->isNormal() || m_wrapper || !m_jsFunction); This is due to the Weak m_wrapper having been collected while the m_jsFunction is still alive. We need to make sure we visit wrappers and functions for event targets that are on an asynchromous event queue. <rdar://problem/30316709>
Attachments
Note You need to log in before you can comment on or make changes to this bug.