Bug 167755
| Summary: | GC may not visit event targets for async events | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Saboff <msaboff> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Michael Saboff
]
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |