| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…honGH-156636) Node.insertBefore(), Node.removeChild() and Node.replaceChild() raise NotFoundErr, not ValueError. Element.removeAttribute() and Element.removeAttributeNS() raise NotFoundErr if there is no matching attribute, which contradicts the DOM, so this is documented as a deviation in the minidom documentation. (cherry picked from commit 74b944a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
| Back | FazBrowse Home | New Git URL |
Node.insertBefore(), Node.removeChild() and Node.replaceChild() raise
NotFoundErr, not ValueError.
Element.removeAttribute() and Element.removeAttributeNS() raise
NotFoundErr if there is no matching attribute, which contradicts the
DOM, so this is documented as a deviation in the minidom documentation.
(cherry picked from commit 74b944a)
Co-authored-by: Serhiy Storchaka storchaka@gmail.com