Bug 125900 - ASSERT setting pseudoID with registered DOMSubtreeModified listener
Summary: ASSERT setting pseudoID with registered DOMSubtreeModified listener
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 18:24 PST by Eric Carlson
Modified: 2013-12-17 20:29 PST (History)
5 users (show)

See Also:


Attachments
Proposed patch (4.10 KB, patch)
2013-12-17 18:38 PST, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2013-12-17 18:24:59 PST
Calling setPseudo() from an element's constructor triggers an ASSERT if there are any DOMSubtreeModified listeners in the document because Node::refEventTarget is called when the node has not been adopted yet.
Comment 1 Eric Carlson 2013-12-17 18:38:24 PST
Created attachment 219487 [details]
Proposed patch
Comment 2 WebKit Commit Bot 2013-12-17 20:29:08 PST
Comment on attachment 219487 [details]
Proposed patch

Clearing flags on attachment: 219487

Committed r160748: <http://trac.webkit.org/changeset/160748>
Comment 3 WebKit Commit Bot 2013-12-17 20:29:10 PST
All reviewed patches have been landed.  Closing bug.