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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17706

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