[Webkit-unassigned] [Bug 23956] Safari crashes when cloneNode fails (cloning a XML element with an invalid nodeName)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 18 17:53:04 PST 2009


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Safari crashes when         |Safari crashes when
                   |cloneNode fails             |cloneNode fails (cloning a
                   |                            |XML element with an invalid
                   |                            |nodeName)




------- Comment #6 from eric at webkit.org  2009-02-18 17:53 PDT -------
The bug here is that since this is an XML document, we shouldn't have been able
to create a node with an invalid prefix to begin with. 
Document::createElement() should have thrown an error.  We'll need to check
what FF and IE do here, and what the spec says, but I expect that
createElement() should have just thrown an error and we would never have gotten
to a case where we have an XML element with an invalid nodeName.


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



More information about the webkit-unassigned mailing list