[Webkit-unassigned] [Bug 157040] New: Make 'ownerElement' a WeakPtr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 26 12:24:50 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157040
Bug ID: 157040
Summary: Make 'ownerElement' a WeakPtr
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bfulgham at webkit.org
We've hit a number of flaky tests due to the ownerElement member of the frame (and document) being deallocated without the frame or document code being aware of this. This seems like a good case to use WeakPtr, so we can make sure the "owned" party is aware of the state of the owning element.
This is most often a problem when event handling code causes the containing element to be destroyed while the contained element is either still being used, or is in the process of being moved to another containing element.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160426/5b48cfd3/attachment.html>
More information about the webkit-unassigned
mailing list