Bug #81642 [Com]: DOMChildNode::replaceWith() bug when replacing a node with itself.

From: Date: Fri, 16 Dec 2022 05:24:49 +0000
Subject: Bug #81642 [Com]: DOMChildNode::replaceWith() bug when replacing a node with itself.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243159@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81642&edit=1 ID: 81642 Comment by: LiamBaker at teleworm dot us Reported by: jules dot bernable at gmail dot com Summary: DOMChildNode::replaceWith() bug when replacing a node with itself. Status: Verified Type: Bug Package: DOM XML related Operating System: debian unstable PHP Version: 8.0.0 Assigned To: beberlei Block user comment: N Private report: N New Comment: DOMChildNode.cpp Go to the documentation of this file. 00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one or more 00003 * contributor license agreements. <https://www.myccpay.fyi/>github.com Previous Comments: ------------------------------------------------------------------------ [2022-12-15 08:16:45] MasonCooke at teleworm dot us English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub. <https://www.myehtrip.me/>github.com ------------------------------------------------------------------------ [2022-12-13 05:10:12] EvanMartin at jourrapide dot com The childNodes property is a property of Node in Javascript and is used to return a Nodelist of child nodes. <https://www.gmglobalconnect.me/>github.com ------------------------------------------------------------------------ [2022-12-03 05:39:51] maypayne146 at gmail dot com The Element.replaceWith () method replaces this Element in the children list of its parent with a set of Node or string objects. String objects are inserted as equivalent Text nodes. A set of Node or string objects to replace. None ( undefined ). Thrown when the node cannot be inserted at the specified point in the hierarchy. <https://www.fragomen-connect.com/>github.com ------------------------------------------------------------------------ [2022-11-30 05:15:55] hazerissa1 at gmail dot com the issue is that when we boot a node with --replace_address_first_boot, the node maybe set with itself being a seed - in this case the node currently boots and may set its token on its own instead of taking the old node tokens. <https://www.mylabcorp.me/>github.com ------------------------------------------------------------------------ [2022-09-13 18:14:29] stri73971 at gmail dot com The following pull request has been associated: Patch Name: Fixed and simplified array_replace description On GitHub: https://github.com/php/doc-de/pull/76 Patch: https://github.com/php/doc-de/pull/76.patch ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=81642 -- Edit this bug report at https://bugs.php.net/bug.php?id=81642&edit=1

« previous php.bugs (#243159) next »