W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2012

[Bug 17706] Node.replaceChild(node, child) doesn't check that child is among node's children

From: <bugzilla@jessica.w3.org>
Date: Fri, 06 Jul 2012 05:15:52 +0000
Message-Id: <E1Sn0tU-0002aS-J3@jessica.w3.org>
To: www-dom@w3.org

Alex Vincent <ajvincent@gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Alex Vincent <ajvincent@gmail.com> 2012-07-06 05:15:52 UTC ---
Sorry, folks, I was reading a different part of my code.  This is covered by
step 1 in the replaceChild algorithm:

If child's parent is not parent, throw a "NotFoundError" exception and
terminate these steps.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 6 July 2012 05:15:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:19 UTC