[Webkit-unassigned] [Bug 211844] JSDOMWindowBase m_windowCloseWatchpoints must be Ref<>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 13 13:26:28 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=211844

--- Comment #2 from xc.o.c.1180 at gmail.com <xc.o.c.1180 at gmail.com> ---
Test case is not practical, it depends on memory access.

First, JSDOMWindowBase must be destroyed before ProxyableAccessCase which holds its m_windowCloseWatchpoints, this step is possible.

Second, since WatchpointSet is reference counted, the memory which has m_windowCloseWatchpoints's reference counter must be 1, otherwise, ProxyableAccessCase does not destroy its m_additionalSet (JSDOMWindowBase's m_windowCloseWatchpoints) when itself is deleted. This step is not practical in test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200513/fb8d9ab7/attachment.htm>


More information about the webkit-unassigned mailing list