[Webkit-unassigned] [Bug 31029] Cannot add AJAX loaded content in hierarchy without clone it.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 2 14:47:11 PST 2009


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
         OS/Version|Windows XP                  |All
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Alexey Proskuryakov <ap at webkit.org>  2009-11-02 14:47:11 PDT ---
Yes, our behavior is in accordance with DOM 3 Core specification, please see
<http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-785887307>:
"WRONG_DOCUMENT_ERR: Raised if newChild was created from a different document
than the one that created this node."

I would actually suggest that you use importNode, not cloneNode, as that avoids
the need to make copies, and is faster.

Resolving as INVALID, because our behavior appears correct per the spec, and we
are not aware of actual sites broken by this (which would make us consider
diverging from the spec).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list