Bug 25666

Summary: Assertion failure in Node::setDocument() (willMoveToNewOwnerDocumentWasCalled) when adopting a <form> element
Product: WebKit Reporter: mitz
Component: DOMAssignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: beidson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Test case (will ASSERT)
none
Make HTMLFormElement call the base class implementation of {will,did}MoveToNewOwnerDocument ggaren: review+

mitz
Reported 2009-05-09 21:47:34 PDT
The recently-added assertion in Node::setDocument(), willMoveToNewOwnerDocumentWasCalled, fails when adopting a <form> element. To reproduce, open the attached test case.
Attachments
Test case (will ASSERT) (180 bytes, text/html)
2009-05-09 21:47 PDT, mitz
no flags
Make HTMLFormElement call the base class implementation of {will,did}MoveToNewOwnerDocument (3.60 KB, patch)
2009-05-09 22:00 PDT, mitz
ggaren: review+
mitz
Comment 1 2009-05-09 21:47:54 PDT
Created attachment 30159 [details] Test case (will ASSERT)
mitz
Comment 2 2009-05-09 22:00:47 PDT
Created attachment 30160 [details] Make HTMLFormElement call the base class implementation of {will,did}MoveToNewOwnerDocument
Geoffrey Garen
Comment 3 2009-05-09 22:03:04 PDT
Comment on attachment 30160 [details] Make HTMLFormElement call the base class implementation of {will,did}MoveToNewOwnerDocument r=me
mitz
Comment 4 2009-05-09 22:05:26 PDT
Note You need to log in before you can comment on or make changes to this bug.