[Webkit-unassigned] [Bug 194871] Crash in DOMWindowExtension::suspendForPageCache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 20 14:28:03 PST 2019


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

--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org> ---
I suspect what might be happening here is that DOMWindowExtension is getting removed / unregistered
inside the client delegate callbacks in dispatchWillDisconnectDOMWindowExtensionFromGlobalObject
and dispatchWillDestroyGlobalObjectForDOMWindowExtension.

In DOMWindow::willDestroyCachedFrame, for example, there is a comment about how this may happen:
// It is necessary to copy m_properties to a separate vector because the DOMWindowProperties may
// unregister themselves from the DOMWindow as a result of the call to willDestroyGlobalObjectInFrame.

I think what we didn't account is notifying one DOMWindowExtension removing another DOMWindowExtension.

-- 
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/20190220/36d3dbe4/attachment.html>


More information about the webkit-unassigned mailing list