Bug 170946 - Break Document::m_associatedFormControls reference cycle.
Summary: Break Document::m_associatedFormControls reference cycle.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-18 08:40 PDT by Andreas Kling
Modified: 2017-04-18 09:34 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.38 KB, patch)
2017-04-18 08:41 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2017-04-18 08:40:28 PDT
There's a possible reference cycle between Document and its form elements if the Document gets detached from its frame before the timer started in didAssociateFormControls() fires.
Comment 1 Andreas Kling 2017-04-18 08:41:05 PDT
Created attachment 307384 [details]
Patch
Comment 2 WebKit Commit Bot 2017-04-18 09:34:15 PDT
Comment on attachment 307384 [details]
Patch

Clearing flags on attachment: 307384

Committed r215465: <http://trac.webkit.org/changeset/215465>
Comment 3 WebKit Commit Bot 2017-04-18 09:34:17 PDT
All reviewed patches have been landed.  Closing bug.